MediaWiki:Common.js: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 68: Line 68:
item.el.addClass("tt-parent");
item.el.addClass("tt-parent");
item.showChildren = true;
item.showChildren = true;
item.before("<span id='content_" + item.el.attr("data-tt-id") + "'>");
item.el.before("<span id='content_" + item.el.attr("data-tt-id") + "'>");
item.children[item.children.length-1].after("</span>");
item.children[item.children.length-1].el.after("</span>");
}
}
});
});
Confirmedusers, editor, Administrators
886

edits