editor: fixing invalid call to util function
[fnpeditor.git] / src / editor / modules / documentToolbar / documentToolbar.js
index 75fcc72..d903483 100644 (file)
@@ -39,7 +39,7 @@ return function(sandbox) {
                 if(command === 'undo' || command === 'redo') {
                     params.callback = function(disable) {
                         btn.attr('disabled', !disable);
                 if(command === 'undo' || command === 'redo') {
                     params.callback = function(disable) {
                         btn.attr('disabled', !disable);
-                    }
+                    };
                 }
 
                 sandbox.publish('command', command, params);
                 }
 
                 sandbox.publish('command', command, params);