mirror of
https://github.com/meowarex/TidaLuna-Plugins.git
synced 2026-06-18 03:43:10 +10:00
Use StyleTag.remove()
This commit is contained in:
@@ -60,10 +60,10 @@ const toggleCleanView = function(): void {
|
|||||||
// Apply clean view styles
|
// Apply clean view styles
|
||||||
updateCleanViewStyles();
|
updateCleanViewStyles();
|
||||||
} else {
|
} else {
|
||||||
// Clear all clean view styles
|
// Remove all clean view styles
|
||||||
lyricsStyleTag.css = undefined;
|
lyricsStyleTag.remove();
|
||||||
baseStyleTag.css = undefined;
|
baseStyleTag.remove();
|
||||||
playerBarStyleTag.css = undefined;
|
playerBarStyleTag.remove();
|
||||||
}
|
}
|
||||||
updateButtonStates();
|
updateButtonStates();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user