diff options
author | Andrew Dolgov <[email protected]> | 2021-02-18 22:15:54 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-18 22:15:54 +0300 |
commit | 89fd9ec8c32863043e8a2385a6b2ef68fe984366 (patch) | |
tree | bc3ef84a3b69543ba4a3d8e6248377375479007c /js/common.js | |
parent | e61e7c8356b86dfa1b89c7ae2ef78c8020c54d90 (diff) |
compat shim fixes
Diffstat (limited to 'js/common.js')
-rwxr-xr-x | js/common.js | 4 |
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() { |