fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removing unnecessary element detach logic from Canvas DocumentNodeElement
[fnpeditor.git]
/
src
/
editor
/
modules
/
documentToolbar
/
documentToolbar.js
diff --git
a/src/editor/modules/documentToolbar/documentToolbar.js
b/src/editor/modules/documentToolbar/documentToolbar.js
index
75fcc72
..
d903483
100644
(file)
--- a/
src/editor/modules/documentToolbar/documentToolbar.js
+++ b/
src/editor/modules/documentToolbar/documentToolbar.js
@@
-39,7
+39,7
@@
return function(sandbox) {
if(command === 'undo' || command === 'redo') {
params.callback = function(disable) {
btn.attr('disabled', !disable);
- }
+ }
;
}
sandbox.publish('command', command, params);