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

remove setTimeout wrapper for location hash correction

parent 118ab549
......@@ -60,9 +60,7 @@
window.addEventListener('hashchange', gl.utils.handleLocationHash);
window.addEventListener('load', function onLoad() {
window.removeEventListener('load', onLoad, false);
if (window.location.hash) {
setTimeout(gl.utils.handleLocationHash, 100);
}
gl.utils.handleLocationHash();
}, false);
$(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