Content deleted Content added
Joshua Scott (talk | contribs) stop url from repeating |
Joshua Scott (talk | contribs) try again |
||
Line 13:
var pendch_str_enable = "Enable this box";
var pendch_str_disable = "Disable this box";
}▼
addOnloadHook( pendch_init );
Line 71 ⟶ 78:
}
▲ 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;
|