diff --git a/src/static/js/ace2_inner.js b/src/static/js/ace2_inner.js index cc9f1288..490eee19 100644 --- a/src/static/js/ace2_inner.js +++ b/src/static/js/ace2_inner.js @@ -3237,7 +3237,7 @@ function Ace2Inner(){ } //hide the dropdownso if(window.parent.parent.padeditbar){ // required in case its in an iframe should probably use parent.. See Issue 327 https://github.com/Pita/etherpad-lite/issues/327 - window.parent.parent.padeditbar.toogleDropDown("none"); + window.parent.parent.padeditbar.toggleDropDown("none"); } } diff --git a/src/static/js/pad_editbar.js b/src/static/js/pad_editbar.js index 973bfda2..31912f8a 100644 --- a/src/static/js/pad_editbar.js +++ b/src/static/js/pad_editbar.js @@ -122,25 +122,25 @@ var padeditbar = (function() { if(cmd == "showusers") { - self.toogleDropDown("users"); + self.toggleDropDown("users"); } else if (cmd == 'settings') { - self.toogleDropDown("settings"); + self.toggleDropDown("settings"); } else if (cmd == 'connectivity') { - self.toogleDropDown("connectivity"); + self.toggleDropDown("connectivity"); } else if (cmd == 'embed') { self.setEmbedLinks(); $('#linkinput').focus().select(); - self.toogleDropDown("embed"); + self.toggleDropDown("embed"); } else if (cmd == 'import_export') { - self.toogleDropDown("importexport"); + self.toggleDropDown("importexport"); } else if (cmd == 'savedRevision') { @@ -186,7 +186,7 @@ var padeditbar = (function() } if(padeditor.ace) padeditor.ace.focus(); }, - toogleDropDown: function(moduleName, cb) + toggleDropDown: function(moduleName, cb) { var modules = ["settings", "connectivity", "importexport", "embed", "users"]; diff --git a/src/static/js/pad_modals.js b/src/static/js/pad_modals.js index ee986621..720fdfc1 100644 --- a/src/static/js/pad_modals.js +++ b/src/static/js/pad_modals.js @@ -35,8 +35,8 @@ var padmodals = (function() { $("#connectivity .visible").removeClass('visible'); $("#connectivity ."+messageId).addClass('visible'); - padeditbar.toogleDropDown("none", function() { - padeditbar.toogleDropDown("connectivity"); + padeditbar.toggleDropDown("none", function() { + padeditbar.toggleDropDown("connectivity"); }); }, showOverlay: function(duration) {