diff --git a/js/common.js b/js/common.js index 49a6dc0b7..74353c123 100755 --- a/js/common.js +++ b/js/common.js @@ -41,9 +41,9 @@ Element.prototype.hide = function() { Element.prototype.toggle = function() { if (this.visible()) - this.show(); - else this.hide(); + else + this.show(); }; Element.prototype.visible = function() {