diff options
Diffstat (limited to 'src/html')
-rw-r--r-- | src/html/dom.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim index 39a80681..17f11486 100644 --- a/src/html/dom.nim +++ b/src/html/dom.nim @@ -2852,7 +2852,7 @@ proc reflectAttrs(element: Element, name: CAtom, value: string) = of TAG_LINK: let link = HTMLLinkElement(element) if link.isConnected and (name == atRel and value == "stylesheet" or - name == atHref): + name == atHref and link.attr(atRel) == "stylesheet"): link.fetchStarted = false let window = link.document.window if window != nil: |