User:Year2000Prob/monobook.js: Difference between revisions

Content deleted Content added
No edit summary
mNo edit summary
Line 110:
}).parent().find("div.pBody").css("border-left", "none").hide();
function rcUpdate() {$("#bodyContent ul.special").html("<li>Updating...</li>").load(wgScript + "?title=Special:Recentchanges #bodyContent ul.special li")};
if (wgPageName == "/^Special\:Recentchanges"Recent[Cc]hanges$/.test(wgPageName)) window.setInterval(rcUpdate, 15000);
$("#bodyContent ul.special").dblclick(function() {
window.clearInterval(rcUpdate);