mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Adjustments for FTL-based URL-rewriting of *.lp$ => *$
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -515,7 +515,7 @@ function updateVersionInfo() {
|
||||
}
|
||||
|
||||
$(function () {
|
||||
if (window.location.pathname !== "/admin/login.lp") updateInfo();
|
||||
if (window.location.pathname !== "/admin/login") updateInfo();
|
||||
var enaT = $("#enableTimer");
|
||||
var target = new Date(parseInt(enaT.html(), 10));
|
||||
var seconds = Math.round((target.getTime() - Date.now()) / 1000);
|
||||
@@ -530,7 +530,7 @@ $(function () {
|
||||
// Apply per-browser styling settings
|
||||
initCheckboxRadioStyle();
|
||||
|
||||
if (window.location.pathname !== "/admin/login.lp") {
|
||||
if (window.location.pathname !== "/admin/login") {
|
||||
// Run check immediately after page loading ...
|
||||
utils.checkMessages();
|
||||
// ... and once again with five seconds delay
|
||||
|
||||
Reference in New Issue
Block a user