summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xjs/common.js4
1 files changed, 2 insertions, 2 deletions
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() {