Content deleted Content added
improve hover note |
change url to include "Portal:" |
||
Line 133:
// Development note: store pagename in local storage
// Invoke a function by its name
// (The function itself is defined further down the page, using the word "function").
matchingPortal();
Line 175:
// Development note: goto matching portal, otherwise, create it
alert(currentPath);
var regex = /\//;
var newPath = currentPath.replace(regex, '/Portal:');
alert(newPath);
//window.___location.assign(___location.protocol + "//" + ___location.host + "/" + newPath);
}
|