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