CursorBuddy: Fix Issues
This commit is contained in:
parent
43752429b4
commit
41316bafb9
1 changed files with 4 additions and 2 deletions
|
|
@ -99,11 +99,13 @@ const settings = definePluginSettings({
|
|||
});
|
||||
|
||||
function unload() {
|
||||
if (settings.store.buddy === "oneko") document.getElementById("oneko")?.remove();
|
||||
if (settings.store.buddy === "fathorse") document.getElementById("fathorse")?.remove();
|
||||
document.getElementById("oneko")?.remove();
|
||||
document.getElementById("fathorse")?.remove();
|
||||
}
|
||||
|
||||
function load() {
|
||||
unload();
|
||||
|
||||
switch (settings.store.buddy) {
|
||||
case "oneko": {
|
||||
fetch(ONEKO_SCRIPT)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue