X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/6757e2f4fe80bfdc197d4963c464bf2b3a47f66b..097ad6254d6b36c226072b0c7bdcaa5f945dc483:/src/editor/modules/documentToolbar/documentToolbar.js?ds=inline diff --git a/src/editor/modules/documentToolbar/documentToolbar.js b/src/editor/modules/documentToolbar/documentToolbar.js index 75fcc72..d903483 100644 --- 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);