compat shim fixes
This commit is contained in:
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…
Reference in New Issue