From 89fd9ec8c32863043e8a2385a6b2ef68fe984366 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 18 Feb 2021 22:15:54 +0300 Subject: [PATCH] compat shim fixes --- js/common.js | 4 ++-- 1 file 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() {