User:Joshua Scott/Scripts/pendingchanges.js: Difference between revisions

Content deleted Content added
note to self: more coffee
m fix if stmt
Line 15:
 
 
if (window.___location.toString().search(/diffonly=1/) =!= -1) {
var currURL = window.___location.toString();
var newURL=currURL.replace(/diffonly=1/,diffonly=0);
if (document.getElementById("difference").innerHTML.match(/below diff/) !== -1) {
document.getElementById("difference").innerHTML += '&nbsp;(<a href="' + newURL + '">Show page below diff</a>)';
}