diff --git a/src/3rd/js/three/navigator.js b/src/3rd/js/three/navigator.js index bceb214..6d39d50 100644 --- a/src/3rd/js/three/navigator.js +++ b/src/3rd/js/three/navigator.js @@ -118,7 +118,8 @@ xrf.navigator.init = () => { xrf.emit('hash', {hash: document.location.hash }) }) - xrf.navigator.setupNavigateFallbacks() + // allow other libraries to trigger popstate event without triggering the navigate-fallbacks during pageload + setTimeout( xrf.navigator.setupNavigateFallbacks(), 1500 ) // this allows selectionlines to be updated according to the camera (renderloop) xrf.focusLine = new xrf.THREE.Group()