Template:Form-template/Form-template-default: Difference between revisions

Content deleted Content added
Cbarr (talk | contribs)
No edit summary
Cbarr (talk | contribs)
No edit summary
Line 59:
var qs = regex.exec( window.location.search );
return qs == null ? '' : qs[1];
}
 
function getLandingPage() {
var path = "</html>{{{landing-page|default}}}<html>";
 
if( path == "default") {
pathArray = window.location.pathname.split( '/' );
return pathArray[2];
}
else return path;
}