diff options
Diffstat (limited to 'src/static/js/pad_editbar.js')
-rw-r--r-- | src/static/js/pad_editbar.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/static/js/pad_editbar.js b/src/static/js/pad_editbar.js index 1857bd03..3174bf50 100644 --- a/src/static/js/pad_editbar.js +++ b/src/static/js/pad_editbar.js @@ -206,7 +206,7 @@ var padeditbar = (function() if(module.css('display') != "none") { - $("#" + module[i] + "link").removeClass("selected"); + $("#" + self.dropdowns[i] + "link").removeClass("selected"); module.slideUp("fast", cb); returned = true; } @@ -297,7 +297,7 @@ var padeditbar = (function() ace.ace_doUndoRedo(cmd); }); - toolbar.registerAceCommand("redo", function (cmd, ace) { + toolbar.registerAceCommand("redo", function (cmd) { ace.ace_doUndoRedo(cmd); }); |