MediaWiki:Common.js: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 156: Line 156:
if (item.parent === undefined && item.children.length > 0) {
if (item.parent === undefined && item.children.length > 0) {
//item.el.attr("hide") == "children"
//item.el.attr("hide") == "children"
alert(item.el.find(".content").attr("data-hide"));
alert(item.el.attr("data-hide"));
item.el.find(".content").click();
item.el.find(".content").click();
}
}
Confirmedusers, editor, Administrators
886

edits