From bd5af37255af7a945dbf810fb0569d2630f976b0 Mon Sep 17 00:00:00 2001 From: Aidaho Date: Fri, 19 Apr 2024 18:12:07 +0300 Subject: [PATCH] v7.2.4.0: Update paths to static files in JavaScript This commit updates the paths to several static files in various JavaScript files. The '/inc/' directory has been replaced with '/app/static/js/' to maintain consistency across the application. This change affects the ion.sound.min.js and fontawesome.min.js file locations and their corresponding references in script.js, index.html, main_head.html, and channel.js. --- app/static/js/channel.js | 2 +- {inc => app/static/js}/ion.sound.min.js | 0 {inc => app/static/js}/sounds/bell_ring.aac | Bin {inc => app/static/js}/sounds/bell_ring.mp3 | Bin {inc => app/static/js}/sounds/bell_ring.ogg | Bin {inc => app/static/js}/sounds/glass.aac | Bin {inc => app/static/js}/sounds/glass.mp3 | Bin {inc => app/static/js}/sounds/glass.ogg | Bin app/templates/include/main_head.html | 2 +- inc/script.js | 2 +- index.html | 2 +- 11 files changed, 4 insertions(+), 4 deletions(-) rename {inc => app/static/js}/ion.sound.min.js (100%) rename {inc => app/static/js}/sounds/bell_ring.aac (100%) rename {inc => app/static/js}/sounds/bell_ring.mp3 (100%) rename {inc => app/static/js}/sounds/bell_ring.ogg (100%) rename {inc => app/static/js}/sounds/glass.aac (100%) rename {inc => app/static/js}/sounds/glass.mp3 (100%) rename {inc => app/static/js}/sounds/glass.ogg (100%) diff --git a/app/static/js/channel.js b/app/static/js/channel.js index c5f76b00..a894c97a 100644 --- a/app/static/js/channel.js +++ b/app/static/js/channel.js @@ -1,4 +1,4 @@ -var awesome = "/inc/fontawesome.min.js"; +var awesome = "/app/static/js/fontawesome.min.js"; var add_word = $('#translate').attr('data-add'); var delete_word = $('#translate').attr('data-delete'); var cancel_word = $('#translate').attr('data-cancel'); diff --git a/inc/ion.sound.min.js b/app/static/js/ion.sound.min.js similarity index 100% rename from inc/ion.sound.min.js rename to app/static/js/ion.sound.min.js diff --git a/inc/sounds/bell_ring.aac b/app/static/js/sounds/bell_ring.aac similarity index 100% rename from inc/sounds/bell_ring.aac rename to app/static/js/sounds/bell_ring.aac diff --git a/inc/sounds/bell_ring.mp3 b/app/static/js/sounds/bell_ring.mp3 similarity index 100% rename from inc/sounds/bell_ring.mp3 rename to app/static/js/sounds/bell_ring.mp3 diff --git a/inc/sounds/bell_ring.ogg b/app/static/js/sounds/bell_ring.ogg similarity index 100% rename from inc/sounds/bell_ring.ogg rename to app/static/js/sounds/bell_ring.ogg diff --git a/inc/sounds/glass.aac b/app/static/js/sounds/glass.aac similarity index 100% rename from inc/sounds/glass.aac rename to app/static/js/sounds/glass.aac diff --git a/inc/sounds/glass.mp3 b/app/static/js/sounds/glass.mp3 similarity index 100% rename from inc/sounds/glass.mp3 rename to app/static/js/sounds/glass.mp3 diff --git a/inc/sounds/glass.ogg b/app/static/js/sounds/glass.ogg similarity index 100% rename from inc/sounds/glass.ogg rename to app/static/js/sounds/glass.ogg diff --git a/app/templates/include/main_head.html b/app/templates/include/main_head.html index b29a6be6..71efe508 100644 --- a/app/templates/include/main_head.html +++ b/app/templates/include/main_head.html @@ -26,7 +26,7 @@ - + diff --git a/inc/script.js b/inc/script.js index 5cc6f662..ba7eb469 100644 --- a/inc/script.js +++ b/inc/script.js @@ -1276,7 +1276,7 @@ $(function () { } ], volume: 0.5, - path: "/inc/sounds/", + path: "/app/static/js/sounds/", preload: true }); }); diff --git a/index.html b/index.html index de47e877..1f38cd54 100644 --- a/index.html +++ b/index.html @@ -49,7 +49,7 @@ - +