We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79ff70f commit 55993a9Copy full SHA for 55993a9
src/Dom/dynamicCSS.ts
@@ -45,9 +45,7 @@ function getOrder(prepend?: Prepend): AppendType {
45
function findStyles(container: Element) {
46
return Array.from(
47
(containerCache.get(container) || container).children,
48
- ).filter(
49
- node => node.tagName === 'STYLE' && node.hasAttribute(APPEND_ORDER),
50
- ) as HTMLStyleElement[];
+ ).filter(node => node.tagName === 'STYLE') as HTMLStyleElement[];
51
}
52
53
export function injectCSS(css: string, option: Options = {}) {
0 commit comments