X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/6757e2f4fe80bfdc197d4963c464bf2b3a47f66b..377dbc26c0d63513f19ba59ccba81964f75b3a6c:/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 --- 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);