editor: fix missing passing of canvas object reference
[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);
-                    }
+                    };
                 }
 
                 sandbox.publish('command', command, params);