add loadingAlert for status updates
diff --git a/scripts/core.js b/scripts/core.js
index f0762cf..a3683cd 100644
--- a/scripts/core.js
+++ b/scripts/core.js
@@ -83,6 +83,7 @@
topSneaky: false,
topSneakyUI: false,
useV5ThemeSelectionUI: false,
+ loadingAlert: null,
remoteUpdate: {
title: null,
md: null,
@@ -382,6 +383,8 @@
//Fetch user and class data
return dtpsLMS.fetchUser();
}).then(data => {
+ if (dtps.remoteConfig.loadingAlert) window.alert(dtps.remoteConfig.loadingAlert);
+
//Prevent resetting the user if the user is already set (for parent accounts)
dtps.user = data;