diff options
author | bptato <nincsnevem662@gmail.com> | 2024-01-17 01:34:59 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-01-17 01:35:20 +0100 |
commit | e8ab10d39ed89ea1f29f7b3d1de2e7918e28a42f (patch) | |
tree | 2af40bb66ac60d20a54796d000e60964e023b794 | |
parent | f637588d76627368bf7d82f6aa8f5596fe53bddf (diff) | |
download | chawan-e8ab10d39ed89ea1f29f7b3d1de2e7918e28a42f.tar.gz |
dom: fix invalid object conversion defect
-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 aa8fb982..bf5c882b 100644 --- a/src/html/dom.nim +++ b/src/html/dom.nim @@ -2497,7 +2497,7 @@ proc reflectAttrs(element: Element, name, value: string) = let anchor = HTMLAnchorElement(element) anchor.reflect_domtoklist "rel", relList of TAG_AREA: - let area = HTMLAnchorElement(element) + let area = HTMLAreaElement(element) area.reflect_domtoklist "rel", relList else: discard |