diff options
author | bptato <nincsnevem662@gmail.com> | 2023-12-02 01:25:42 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-12-02 01:33:49 +0100 |
commit | d206c2e55515924e1f6a68fdbd70ff21779cdf73 (patch) | |
tree | 5f8c41865973302d6f06f79f5f777a17f91d036c /src/server/buffer.nim | |
parent | 2e37c2cee2a36265523962af4f8ff1402dc44d0b (diff) | |
download | chawan-d206c2e55515924e1f6a68fdbd70ff21779cdf73.tar.gz |
dom: fix relList setter regression, remove rel()
Diffstat (limited to 'src/server/buffer.nim')
-rw-r--r-- | src/server/buffer.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/buffer.nim b/src/server/buffer.nim index dec9769f..ce99a691 100644 --- a/src/server/buffer.nim +++ b/src/server/buffer.nim @@ -722,7 +722,7 @@ proc loadResources(buffer: Buffer): EmptyPromise = case elem.tagType of TAG_LINK: let elem = HTMLLinkElement(elem) - if elem.rel == "stylesheet": + if elem.attr("rel") == "stylesheet": p = buffer.loadResource(elem) of TAG_IMG: let elem = HTMLImageElement(elem) |