diff --git a/plugins/_lib/css/setStyle.ts b/plugins/_lib/css/setStyle.ts index 9de258f..4575b7f 100644 --- a/plugins/_lib/css/setStyle.ts +++ b/plugins/_lib/css/setStyle.ts @@ -8,7 +8,7 @@ export const setStyle = (css?: string, id?: string) => { function setCSS(css?: string) { if (id) styleTag = document.getElementById(id); - if (!css) { + if (!css || !css.trim()) { remove(); } else { if (!styleTag) {