mirror of
https://github.com/meowarex/TidaLuna-Plugins.git
synced 2026-10-15 07:53:13 +11:00
Use StyleTag.remove()
This commit is contained in:
1 parent
4fc8925b26
commit
d0a175c152
1 file changed
+4
-4
@@ -60,10 +60,10 @@ const toggleCleanView = function(): void {
|
||||
// Apply clean view styles
|
||||
updateCleanViewStyles();
|
||||
} else {
|
||||
// Clear all clean view styles
|
||||
lyricsStyleTag.css = undefined;
|
||||
baseStyleTag.css = undefined;
|
||||
playerBarStyleTag.css = undefined;
|
||||
// Remove all clean view styles
|
||||
lyricsStyleTag.remove();
|
||||
baseStyleTag.remove();
|
||||
playerBarStyleTag.remove();
|
||||
}
|
||||
updateButtonStates();
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user