diff --git a/devjs/main.js b/devjs/main.js index 3a93a4f..bfe82ab 100644 --- a/devjs/main.js +++ b/devjs/main.js @@ -402,7 +402,7 @@ PublicServers.prototype.addServer = function(name, code, title, language, descri tableBody.append(tr); } -SettingsPanel.prototype.show = function() { +PublicServers.prototype.show = function() { this.getPanel().toggle(); } diff --git a/devjs/publicservers.js b/devjs/publicservers.js index 41dc76f..5a1348b 100644 --- a/devjs/publicservers.js +++ b/devjs/publicservers.js @@ -124,6 +124,6 @@ PublicServers.prototype.addServer = function(name, code, title, language, descri tableBody.append(tr); } -SettingsPanel.prototype.show = function() { +PublicServers.prototype.show = function() { this.getPanel().toggle(); }