From 16d313582d6b7824eb0ec5ebd196157ed2e8850a Mon Sep 17 00:00:00 2001 From: DL6ER Date: Tue, 26 May 2020 18:10:59 +0200 Subject: [PATCH] Further tweaks and optimization Signed-off-by: DL6ER --- groups-domains.php | 19 +++++++++---------- scripts/pi-hole/js/footer.js | 4 ++++ scripts/pi-hole/js/index.js | 2 +- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/groups-domains.php b/groups-domains.php index 45d9a0bd..1f015986 100644 --- a/groups-domains.php +++ b/groups-domains.php @@ -48,17 +48,7 @@
-
- - - - -
-
-
- Checkbox "wildcard": Check this box if you want to involve - all subdomains. The entered domain will be converted to a RegEx filter while adding.
@@ -66,6 +56,15 @@
+
+
+
+ + +

Check this box if you want to involve all subdomains. The entered domain will be converted to a RegEx filter while adding.

+
+
+
diff --git a/scripts/pi-hole/js/footer.js b/scripts/pi-hole/js/footer.js index d79a50f4..20cc4680 100644 --- a/scripts/pi-hole/js/footer.js +++ b/scripts/pi-hole/js/footer.js @@ -267,6 +267,10 @@ $(function () { initTheme(); initCPUtemp(); + if (typeof initpage === "function") { + setTimeout(initpage, 100); + } + // Run check immediately after page loading ... checkMessages(); // ... and once again with five seconds delay diff --git a/scripts/pi-hole/js/index.js b/scripts/pi-hole/js/index.js index d6b479e7..1619582a 100644 --- a/scripts/pi-hole/js/index.js +++ b/scripts/pi-hole/js/index.js @@ -1090,7 +1090,7 @@ $(function () { // Pull in data via AJAX updateForwardDestinationsPie(); } -}); +} //destroy all chartjs customTooltips on window resize window.addEventListener("resize", function () {