remove setTimeout wrapper for location hash correction

This commit is contained in:
Mike Greiling 2016-11-22 17:23:34 -06:00
parent 118ab54914
commit 19f174bc68
1 changed files with 1 additions and 3 deletions

View File

@ -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 () {