Adjustments for FTL-based URL-rewriting of *.lp$ => *$

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2023-05-25 18:11:59 +02:00
parent f2d129025f
commit f3c8bf6b19
2 changed files with 46 additions and 46 deletions

View File

@@ -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