mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Remove progress bar on general page loading
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user