compat shim fixes

This commit is contained in:
Andrew Dolgov 2021-02-18 22:15:54 +03:00
parent e61e7c8356
commit 89fd9ec8c3
1 changed files with 2 additions and 2 deletions

View File

@ -41,9 +41,9 @@ Element.prototype.hide = function() {
Element.prototype.toggle = function() { Element.prototype.toggle = function() {
if (this.visible()) if (this.visible())
this.show();
else
this.hide(); this.hide();
else
this.show();
}; };
Element.prototype.visible = function() { Element.prototype.visible = function() {