Content deleted Content added
Joshua Scott (talk | contribs) enable diffonly = 1; etc. |
Joshua Scott (talk | contribs) stop url from repeating |
||
Line 71:
}
if (window.___location.toString().search(/diffonly=1/) != -1) {▼
var currURL = window.___location.toString();▼
var newURL=currURL.replace(/diffonly=1/,diffonly=0);▼
document.getElementById("difference").innerHTML += ' (<a href="' + newURL + '">Show page below diff</a>)';▼
}▼
// Either make a request or show nothing
pendch_curr_idle_req = 0;
Line 96 ⟶ 103:
}
▲ if (window.___location.toString().search(/diffonly=1/) != -1) {
▲ var currURL = window.___location.toString();
▲ var newURL=currURL.replace(/diffonly=1/,diffonly=0);
▲ document.getElementById("difference").innerHTML += ' (<a href="' + newURL + '">Show page below diff</a>)';
▲ }
pendch_http.onreadystatechange = function() {
if(pendch_http.readyState == 4) pendch_ajax_response();
|