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

Content deleted Content added
try again
fix repeating URLs
Line 18:
var currURL = window.___location.toString();
var newURL=currURL.replace(/diffonly=1/,diffonly=0);
if (document.getElementById("difference").innerHTML += '&nbsp;.match(<a href="' + newURL + '">Show page /below diff</a>)'; {
document.getElementById("difference").innerHTML += '&nbsp;(<a href="' + newURL + '">Show page below diff</a>)';
}
}
 
addOnloadHook( pendch_init );