Remove progress bar on general page loading

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-11-14 10:11:21 +01:00
parent 233b6d0898
commit 0d35ad2caf
2 changed files with 1 additions and 12 deletions
+1 -6
View File
@@ -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();
});
-6
View File
@@ -61,10 +61,4 @@
<div id="advanced-info-data" style="display: none;" data-starttime="<?=starttime?>" data-endtime="<?=mg.time(true)?>" data-client-ip="<?=mg.request_info.remote_addr?>" data-tls="<?=tostring(is_secure)?>"></div>
</body>
<script>
NProgress.configure({
showSpinner: false
});
NProgress.start();
</script>
</html>