mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-03-31 07:12:23 -07:00
FE+BE: use of new events endpoint
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
@@ -1218,7 +1218,12 @@ let spinnerTimeout = null;
|
||||
let animationTime = 300
|
||||
|
||||
function showSpinner(stringKey = 'Loading') {
|
||||
const text = isEmpty(stringKey) ? "Loading" : getString(stringKey || "Loading");
|
||||
let text = isEmpty(stringKey) ? "Loading..." : getString(stringKey || "Loading");
|
||||
|
||||
if (text == ""){
|
||||
text = "Loading"
|
||||
}
|
||||
|
||||
const spinner = $("#loadingSpinner");
|
||||
const target = $(".spinnerTarget").first(); // Only use the first one if multiple exist
|
||||
|
||||
|
||||
Reference in New Issue
Block a user