Content deleted Content added
remove alerts and activate window.___location.assign with newPath |
remove extraneous slash |
||
Line 178:
var regex = /wiki\//;
var newPath = currentPath.replace(regex, 'wiki/Portal:');
window.___location.assign(___location.protocol + "//" + ___location.host
}
|