MediaWiki:Common.js: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 304: Line 304:
if(window.location.hash != "#" + item.el.attr("data-tt-id"))
if(window.location.hash != "#" + item.el.attr("data-tt-id"))
{
{
item.showChildren = true;
}else{
item.showChildren = false;
item.showChildren = false;
$("." + item.el.attr("data-tt-id")).hide();
$("." + item.el.attr("data-tt-id")).hide();
}else{
item.showChildren = true;
}
}
Confirmedusers, editor, Administrators
886

edits