diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-09-30 12:36:42 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-09-30 12:36:42 -0400 |
| commit | 742f4cc410bb04421800d7462f81fc64c59aa0bc (patch) | |
| tree | 73eb5a73042e8064fc20868a69ae351116a0964d /public/assets/javascripts/ui/editor/EditorToolbar.js | |
| parent | c0c11162c5124f5452fe162b31d708be5ec40fcc (diff) | |
tracing menu appearing/disappearing logic ; set title from filename
Diffstat (limited to 'public/assets/javascripts/ui/editor/EditorToolbar.js')
| -rw-r--r-- | public/assets/javascripts/ui/editor/EditorToolbar.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/public/assets/javascripts/ui/editor/EditorToolbar.js b/public/assets/javascripts/ui/editor/EditorToolbar.js index bc56d88..9c74c7c 100644 --- a/public/assets/javascripts/ui/editor/EditorToolbar.js +++ b/public/assets/javascripts/ui/editor/EditorToolbar.js @@ -37,15 +37,18 @@ var EditorToolbar = View.extend({ this.resetMode() this.resetControls() }, - + resetMode: function(){ this.resizeMedia(true) this.destroyMedia(false) + app.controller.hideExtras() }, resetControls: function(){ + $(".inuse").removeClass("inuse") this.parent.wallpaperPicker.hide() this.parent.lightControl.hide() + this.parent.settings.hide() }, resizeMedia: function(e, state){ |
