mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-09-09 11:29:14 -04:00
Close the "not" function (#25)
Co-authored-by: pvergara <ecos.logic.org@gmail.com>
This commit is contained in:
co-authored by
pvergara
parent
8c378d68fc
commit
239af2437a
@@ -702,7 +702,7 @@ class Loader {
|
||||
for (const el of doc.querySelectorAll('[src]')) await replace(el, 'src')
|
||||
for (const el of doc.querySelectorAll('[poster]')) await replace(el, 'poster')
|
||||
for (const el of doc.querySelectorAll('object[data]')) await replace(el, 'data')
|
||||
for (const el of doc.querySelectorAll('[*|href]:not([href]'))
|
||||
for (const el of doc.querySelectorAll('[*|href]:not([href])'))
|
||||
el.setAttributeNS(NS.XLINK, 'href', await this.loadHref(
|
||||
el.getAttributeNS(NS.XLINK, 'href'), href, parents))
|
||||
// replace inline styles
|
||||
|
||||
Reference in New Issue
Block a user