diff options
Diffstat (limited to 'src/html/dom.nim')
-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 |