mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Fix requests firing before user is logged in
This commit is contained in:
1 parent
8912785ad9
commit
da932f918a
3 files changed
+9
-7
No files matched your search
@@ -7637,6 +7637,10 @@ In the Custom Tabs plugin, add a new tab with the following HTML content:
|
||||
};
|
||||
|
||||
const run = async () => {
|
||||
if (window.userHelper?.waitForLogin) {
|
||||
await window.userHelper.waitForLogin();
|
||||
}
|
||||
|
||||
await addCustomWatchlistPage();
|
||||
await addCustomMenuLink();
|
||||
await addWatchlistPageHandler();
|
||||
|
||||
Reference in new issue
Block a user