MediaWiki:Common.js: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 151: Line 151:
});
});


/*// initially hide all children
// initially hide all children
items.forEach(function (item) {
items.forEach(function (item) {


if (item.parent === undefined && item.children.length > 0) {
if (item.parent === undefined && item.children.length > 0 && item.attr("hide") == "children") {
item.el.find(".content").click();
item.el.find(".content").click();
}
}
});*/
});
}
}
});
});
Confirmedusers, editor, Administrators
886

edits