fix: css var polyfill
This commit is contained in:
parent
8c7e4d7866
commit
8cd386ae49
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ export function cssVars () {
|
|||
} else if (block.nodeName === 'LINK') {
|
||||
const href = block.getAttribute('href')
|
||||
|
||||
if (/\.css$/.test(href)) return
|
||||
if (!/\.css$/.test(href)) return
|
||||
|
||||
load(href).then(res => {
|
||||
const style = document.createElement('style')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue