Browse Source

Fallback to jquery document ready

pull/25/head
Maurice Heumann 1 month ago
parent
commit
350c2ab6ea
1 changed files with 1 additions and 1 deletions
  1. 2
      js/panorama.js

2
js/panorama.js

@ -26,7 +26,7 @@
const target = textures[Math.floor(Math.random() * textures.length)];
const texture = new THREE.TextureLoader().load(target, resume, undefined, resume);
window.addEventListener("load", function() {
$(document).ready(function() {
init();
animate();
});
Loading…
Cancel
Save