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:
Michael Price
2018-03-10 15:12:36 -04:00
committed by Roberto Rosario
parent 9b10f59162
commit 27286fce24

View File

@@ -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;
}