         @editor._chat_is_hidden = false
         @element.find(".salvus-editor-chat-show").hide()
         @element.find(".salvus-editor-chat-hide").show()
-        @element.find(".salvus-editor-codemirror-input-box").removeClass('span12').addClass('span9')
+        @element.find(".salvus-editor-codemirror-input-box").removeClass('col-sm-12').addClass('col-sm-9')
         @element.find(".salvus-editor-codemirror-chat-column").show()
         # see http://stackoverflow.com/questions/4819518/jquery-ui-resizable-does-not-support-position-fixed-any-recommendations
         # if you want to try to make this resizable

                            if resp.event == 'error'
                                err = resp.error
                            if err
                                alert_message(type:"error", message:"error enabling revision saving -- #{err}")

    ui_loading: () =>
        @element.find(".salvus-editor-codemirror-loading").show()

################################
exports.SynchronizedDocument = SynchronizedDocument
exports.SynchronizedWorksheet = SynchronizedWorksheet
exports.SynchronizedHistory = SynchronizedHistory