 
         classLabel = 'compose-label'
         classInput = 'compose-input'
-        classCc    = if @state.cc.length is 0 then '' else ' shown'
-        classBcc   = if @state.bcc.length is 0 then '' else ' shown'
+        classCc    = if @state.ccShown  then ' shown ' else ''
+        classBcc   = if @state.bccShown then ' shown ' else ''
 
         if @state.sending
             labelSend = t 'compose action sending'

    onToggleCc: (e) ->
        toggle = (e) -> e.classList.toggle 'shown'
        toggle e for e in @getDOMNode().querySelectorAll '.compose-cc'

    onToggleBcc: (e) ->
        toggle = (e) -> e.classList.toggle 'shown'
        toggle e for e in @getDOMNode().querySelectorAll '.compose-bcc'


ComposeEditor = React.createClass

                @props.settings.get('composeInHTML')
            state.accountID ?= @props.selectedAccountID

        state.sending  = false
        state.saving   = false
        state.ccShown  = false
        state.bccShown = false
        return state

    componentWillReceiveProps: (nextProps) ->
