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.
pull/381/head v7.2.4.0
Aidaho 2024-04-19 18:12:07 +03:00
parent 7df8cbad8b
commit bd5af37255
11 changed files with 4 additions and 4 deletions

View File

@ -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');

View File

@ -26,7 +26,7 @@
<script defer src="/app/static/js/fontawesome.min.js"></script>
<script src="https://use.fontawesome.com/releases/v5.15.4/js/all.js" data-auto-replace-svg="nest"></script>
<script>FontAwesomeConfig = { searchPseudoElements: true, observeMutations: false };</script>
<script defer src="/inc/ion.sound.min.js"></script>
<script defer src="/app/static/js/ion.sound.min.js"></script>
<script defer src="/inc/intro/introjs.min.js"></script>
<link href="/inc/intro/introjs.min.css" rel="stylesheet">
<link href="/inc/intro/introjs-modern.css" rel="stylesheet">

View File

@ -1276,7 +1276,7 @@ $(function () {
}
],
volume: 0.5,
path: "/inc/sounds/",
path: "/app/static/js/sounds/",
preload: true
});
});

View File

@ -49,7 +49,7 @@
<script src="/inc/codemirror/mode/modsec.js"></script>
<link href="/app/static/css/toastr-6.3.9.css" rel="stylesheet"/>
<script src="/app/static/js/toastr.js"></script>
<script defer src="/inc/ion.sound.min.js"></script>
<script defer src="/app/static/js/ion.sound.min.js"></script>
<link href="/app/static/css/select2.css" rel="stylesheet" />
<script src="/app/static/js/select2.js"></script>
<script src="/app/static/js/reconnecting-websocket.js"></script>