mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
fix: css var polyfill
This commit is contained in:
parent
8c7e4d7866
commit
8cd386ae49
@ -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…
x
Reference in New Issue
Block a user