From 0d35ad2cafe00235fe5e352a37a968bce52e09c2 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Tue, 14 Nov 2023 10:11:21 +0100 Subject: [PATCH] Remove progress bar on general page loading Signed-off-by: DL6ER --- scripts/pi-hole/js/footer.js | 7 +------ scripts/pi-hole/lua/footer.lp | 6 ------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/scripts/pi-hole/js/footer.js b/scripts/pi-hole/js/footer.js index 1fd91282..380bc485 100644 --- a/scripts/pi-hole/js/footer.js +++ b/scripts/pi-hole/js/footer.js @@ -5,7 +5,7 @@ * This file is copyright under the latest version of the EUPL. * Please see LICENSE file for your rights under this license. */ -/* global utils:false, moment:false, NProgress: false */ +/* global utils:false, moment:false */ //The following functions allow us to display time until pi-hole is enabled after disabling. //Works between all pages @@ -712,8 +712,3 @@ if ($.fn.dataTable) { console.log("DataTables warning: " + message); }; } - -// Page has finished loading -$(window).on("load", function () { - NProgress.done(); -}); diff --git a/scripts/pi-hole/lua/footer.lp b/scripts/pi-hole/lua/footer.lp index 8e9a4fbc..3be0b1d9 100644 --- a/scripts/pi-hole/lua/footer.lp +++ b/scripts/pi-hole/lua/footer.lp @@ -61,10 +61,4 @@ -