summaryrefslogtreecommitdiff
path: root/js/common.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-18 22:15:54 +0300
committerAndrew Dolgov <[email protected]>2021-02-18 22:15:54 +0300
commit89fd9ec8c32863043e8a2385a6b2ef68fe984366 (patch)
treebc3ef84a3b69543ba4a3d8e6248377375479007c /js/common.js
parente61e7c8356b86dfa1b89c7ae2ef78c8020c54d90 (diff)
compat shim fixes
Diffstat (limited to 'js/common.js')
-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() {