mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-13 06:57:09 +03:00
@@ -512,6 +512,7 @@ function activatePrivateTextChange(element: HTMLElement) {
|
|||||||
// See if anything extra must be done
|
// See if anything extra must be done
|
||||||
switch (option) {
|
switch (option) {
|
||||||
case "userID":
|
case "userID":
|
||||||
|
if (Config.config[option]) {
|
||||||
utils.asyncRequestToServer("GET", "/api/userInfo", {
|
utils.asyncRequestToServer("GET", "/api/userInfo", {
|
||||||
userID: Config.config[option],
|
userID: Config.config[option],
|
||||||
values: ["warnings", "banned"]
|
values: ["warnings", "banned"]
|
||||||
@@ -521,6 +522,7 @@ function activatePrivateTextChange(element: HTMLElement) {
|
|||||||
setButton.classList.add("hidden");
|
setButton.classList.add("hidden");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user