diff options
author | bptato <nincsnevem662@gmail.com> | 2024-05-07 23:48:46 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-05-07 23:48:46 +0200 |
commit | 22f3172c5cf6dbbcf63d1f249d1794a74ef7b497 (patch) | |
tree | eda2a781204bb762732a1f9c9000b6281aa43fe6 /src/html | |
parent | b3a88c3da0d5d6f8be737881bd115a497bd8c30c (diff) | |
download | chawan-22f3172c5cf6dbbcf63d1f249d1794a74ef7b497.tar.gz |
dom: fix area relList element
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 7e332574..961dedd8 100644 --- a/src/html/dom.nim +++ b/src/html/dom.nim @@ -2588,7 +2588,7 @@ proc newHTMLElement*(document: Document; localName: CAtom; of TAG_AREA: let area = HTMLAreaElement() let localName = document.toAtom(satRel) - area.relList = DOMTokenList(element: result, localName: localName) + area.relList = DOMTokenList(element: area, localName: localName) result = area else: result = HTMLElement() |