mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:55:55 +00:00
compat shim fixes
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user