diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-10-07 19:22:42 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-10-07 19:22:42 -0400 |
| commit | d6d78ddf16e9cb6555e92089dfa77ba5648f686b (patch) | |
| tree | d9e62fa1bdf07cf60fdccfec4cf599e42be9a001 /public/assets/javascripts/ui/editor/TextEditor.js | |
| parent | 009205d55b7f04d2a08064a844e5e2b731fff7d8 (diff) | |
| parent | c2e2334328256fa0409341692284f25f3167ab30 (diff) | |
merge
Diffstat (limited to 'public/assets/javascripts/ui/editor/TextEditor.js')
| -rw-r--r-- | public/assets/javascripts/ui/editor/TextEditor.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/public/assets/javascripts/ui/editor/TextEditor.js b/public/assets/javascripts/ui/editor/TextEditor.js index 1e35c12..0aa5aad 100644 --- a/public/assets/javascripts/ui/editor/TextEditor.js +++ b/public/assets/javascripts/ui/editor/TextEditor.js @@ -39,12 +39,15 @@ var TextEditor = FormView.extend({ scale: 0.5, font: { family: 'Lato', size: 12, align: 'left' }, } - this.createMode(true) } + else { + $("[data-role='toggle-text-editor']").removeClass("inuse") + } }, hide: function(scenery){ + Scenery.nextMedia = null if (this.scenery) { this.unbind() } |
