CursorBuddy: Fix Issues

This commit is contained in:
thororen1234 2025-12-31 21:31:40 -05:00
parent 43752429b4
commit 41316bafb9
No known key found for this signature in database

View file

@ -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)