compat shim fixes

master
Andrew Dolgov 4 years ago
parent e61e7c8356
commit 89fd9ec8c3

@ -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() {

Loading…
Cancel
Save