diff --git a/htdocs/assets/js/floatingbar-config.js b/htdocs/assets/js/floatingbar-config.js index 3f27e49..8f70df5 100644 --- a/htdocs/assets/js/floatingbar-config.js +++ b/htdocs/assets/js/floatingbar-config.js @@ -1,4 +1,5 @@ //---controls the bottom floating bar behaviour + const floatingBar = document.getElementById("floating-bar"); const searchBar = document.getElementById("searchbar"); const shareBtn = document.getElementById("sharebutton"); @@ -101,7 +102,6 @@ function perform_search(searchInput, searchDef, searchRes) { dataType: 'json', data: { keyword: searchString }, success: function(response) { - console.log(response); if(response.results && response.results === "none") { inject_no_results(response, searchString); } diff --git a/htdocs/assets/js/keybinding-config.js b/htdocs/assets/js/keybinding-config.js index 9196893..70cf843 100644 --- a/htdocs/assets/js/keybinding-config.js +++ b/htdocs/assets/js/keybinding-config.js @@ -1,3 +1,6 @@ +//---controls basic keyboard shotcuts +//basePath const is defined in floatingbar-config + let pressedKeys = {}; document.addEventListener('keydown', function(event) { diff --git a/htdocs/assets/js/preloader-config.js b/htdocs/assets/js/preloader-config.js index 1187601..fc43b61 100644 --- a/htdocs/assets/js/preloader-config.js +++ b/htdocs/assets/js/preloader-config.js @@ -1,4 +1,5 @@ //---controls the page preloader behaviour + window.addEventListener("load", function(){ $('#preloader').addClass('hidden'); }); \ No newline at end of file diff --git a/htdocs/core/router.php b/htdocs/core/router.php index 62faa1f..27ffdb5 100644 --- a/htdocs/core/router.php +++ b/htdocs/core/router.php @@ -1,4 +1,6 @@