Commit 19f174bc authored by Mike Greiling's avatar Mike Greiling

remove setTimeout wrapper for location hash correction

parent 118ab549
...@@ -60,9 +60,7 @@ ...@@ -60,9 +60,7 @@
window.addEventListener('hashchange', gl.utils.handleLocationHash); window.addEventListener('hashchange', gl.utils.handleLocationHash);
window.addEventListener('load', function onLoad() { window.addEventListener('load', function onLoad() {
window.removeEventListener('load', onLoad, false); window.removeEventListener('load', onLoad, false);
if (window.location.hash) { gl.utils.handleLocationHash();
setTimeout(gl.utils.handleLocationHash, 100);
}
}, false); }, false);
$(function () { $(function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment