User:Year2000Prob/monobook.js: Difference between revisions

Content deleted Content added
mNo edit summary
No edit summary
Line 112:
if ($("#ca-edit").get(0) && /^(view|purge)$/i.test(wgAction)) {
if ($("#sectionlink-0").get(0)) $("#sectionlink-0").before("<a class='sectionlink' href='" + $("#ca-edit a").attr("href") + "&section=top'>edit</a>/");
else $("#contentSub").css("display", "block").html(($("#contentSub").html() ? $("#contentSub").html() + "\t" : "") + "[<a class='sectionlink' href='" + $("#ca-edit a").attr("href") + "&section=top'>edit</a>]");
};