diff --git a/files/assets/events/homoween/css/main_homoween.css b/files/assets/events/homoween/css/main_homoween.css index f0716649c..f3b8ae388 100644 --- a/files/assets/events/homoween/css/main_homoween.css +++ b/files/assets/events/homoween/css/main_homoween.css @@ -634,7 +634,7 @@ body::after { display:inline-block; } -#jump-scare-img { +#jumpscare-img { position: fixed; left: 0; top: 0; diff --git a/files/assets/events/homoween/js/jumpscare.js b/files/assets/events/homoween/js/jumpscare.js index e4e5e795a..e1cfdae9c 100644 --- a/files/assets/events/homoween/js/jumpscare.js +++ b/files/assets/events/homoween/js/jumpscare.js @@ -1,6 +1,6 @@ // Jump scare function function scare() { - const image = document.getElementById("jump-scare-img"); + const image = document.getElementById("jumpscare-img"); image.style.display = "block"; const jumpscare_audio = document.getElementById('jumpscare-audio') diff --git a/files/templates/root.html b/files/templates/root.html index f53919cdb..a47c058a5 100644 --- a/files/templates/root.html +++ b/files/templates/root.html @@ -38,7 +38,7 @@ {% if IS_HOMOWEEN() and ((v and v.jumpscare) or request.path.startswith('/shop/')) %} {% set image_src = SITE_FULL_IMAGES ~ "/assets/events/homoween/images/jumpscares/" ~ listdir("files/assets/events/homoween/images/jumpscares")|random() ~ "?x=45" %} - + {% set audio_src = "/assets/events/homoween/audio/jumpscares/" ~ listdir("files/assets/events/homoween/audio/jumpscares")|random() ~ "?x=45" %}