diff --git a/web/app/assets/javascripts/react-components/PopupRecordingStartStop.js.jsx.coffee b/web/app/assets/javascripts/react-components/PopupRecordingStartStop.js.jsx.coffee index 53431519b..e5f4de663 100644 --- a/web/app/assets/javascripts/react-components/PopupRecordingStartStop.js.jsx.coffee +++ b/web/app/assets/javascripts/react-components/PopupRecordingStartStop.js.jsx.coffee @@ -25,14 +25,14 @@ RecordingStore = reactContext.RecordingStore if accessOpener mixins.push(Reflux.listenTo(RecordingStore,"onRecordingStateChanged")) - mixins.push(Reflux.listenTo(MixerStore,"onMixersChanged")) + # mixins.push(Reflux.listenTo(MixerStore,"onMixersChanged")) @PopupRecordingStartStop = React.createClass({ mixins: mixins - onMixersChanged: (mixers) -> - this.setState(chatMixer: mixers.chatMixer) + #onMixersChanged: (mixers) -> + # this.setState(chatMixer: mixers.chatMixer) onRecordingStateChanged: (recordingState) -> this.setState(isRecording: recordingState.isRecording, recordedOnce: this.state.recordedOnce || recordingState.isRecording) @@ -54,7 +54,7 @@ if accessOpener recordVideo = WebCamRecordActive - recordChat = if @state.chatMixer? then $root.find('#include-chat').is(':checked') else false + recordChat = $root.find('#include-chat').is(':checked') # if the video window isn't open, but a video option was selected... @@ -199,8 +199,6 @@ if accessOpener $includeChat = $root.find('#include-chat') context.JK.checkbox($includeChat) - if !@state.chatMixer? - $includeChat.iCheck('disable') @@ -214,10 +212,6 @@ if accessOpener $root = jQuery(this.getDOMNode()) $includeChat = $root.find('#include-chat') - if @state.chatMixer? - $includeChat.iCheck('enable') - else - $includeChat.iCheck('disable') resizeWindow: () => $container = $('#minimal-container')