diff options
author | bptato <nincsnevem662@gmail.com> | 2023-09-19 15:37:54 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-09-19 15:38:17 +0200 |
commit | da019595a59a0bfa9d82e0faea915f7d739aa01b (patch) | |
tree | 764cd568e584a98dcfddd5d21a7246b8fe30313f | |
parent | bb2d3724848d6ac5a34308a4bbaca050aac0e6c5 (diff) | |
download | chawan-da019595a59a0bfa9d82e0faea915f7d739aa01b.tar.gz |
dom: fix regression
-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 0999f0bb..acc8ae30 100644 --- a/src/html/dom.nim +++ b/src/html/dom.nim @@ -2069,7 +2069,7 @@ func newDocument*(): Document {.jsctor.} = url: newURL("about:blank").get, index: -1 ) - document.implementation = DOMImplementation(document: result) + document.implementation = DOMImplementation(document: document) document.contentType = "application/xml" return document |