Discard the page content since it is not going to be used. Prevent's javascript error in the console.log.
Signed-off-by: Michael Price <loneviking72@gmail.com>
This commit is contained in:
committed by
Roberto Rosario
parent
9b10f59162
commit
27286fce24
@@ -12,6 +12,7 @@
|
||||
* If not then reload the root path passing the
|
||||
* current location's path as the new hash
|
||||
*/
|
||||
document.write('<script type="text/undefined">')
|
||||
var currentPath = window.location.pathname;
|
||||
window.location = '/#' + currentPath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user