MediaWiki:Common.js: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 70: Line 70:
item.el.closest("tr").before("<div id='children_group_" + item.el.attr("data-tt-id") + "' style='border: 1px solid 1'>Content");
item.el.closest("tr").before("<div id='children_group_" + item.el.attr("data-tt-id") + "' style='border: 1px solid 1'>Content");
item.children[item.children.length-1].el.closest("tr").after("</div>"); //Needs to be changed
//item.children[item.children.length-1].el.closest("tr").after("</div>"); //Needs to be changed
$(document).html("</div>");
}
}
});
});
Confirmedusers, editor, Administrators
886

edits