From 85225cbdcec567216a3f247d7191b8840590908f Mon Sep 17 00:00:00 2001 From: amcmanu3 Date: Tue, 31 Oct 2023 13:26:28 -0400 Subject: [PATCH] Fix duplicate function naming on dashboard --- app/frontend/templates/panel/dashboard.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/frontend/templates/panel/dashboard.html b/app/frontend/templates/panel/dashboard.html index d3934ad7..f5b18f05 100644 --- a/app/frontend/templates/panel/dashboard.html +++ b/app/frontend/templates/panel/dashboard.html @@ -615,7 +615,7 @@ } - function warn(message, link = null, className = null) { + function warnServer(message, link = null, className = null) { var closeEl = document.createElement('span'); var strongEL = document.createElement('strong'); var msgEl = document.createElement('div'); @@ -799,7 +799,7 @@ setTimeout(finishTimeout, 60000); }); function finishTimeout() { - warn("It seems this is taking a while...it's possible you're using UBlock or a similar ad blocker and it's causing some of our connections to not make it to the server. Try disabling your ad blocker.", + warnServer("It seems this is taking a while...it's possible you're using UBlock or a similar ad blocker and it's causing some of our connections to not make it to the server. Try disabling your ad blocker.", null, 'wssError'); } $(".stop_button").click(function () {