diff options
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 8bad0c88..afaa33dc 100644 --- a/src/html/dom.nim +++ b/src/html/dom.nim @@ -4727,7 +4727,7 @@ proc elementInsertionSteps(element: Element) = if window != nil: let link = HTMLLinkElement(element) window.loadResource(link) - of TAG_IMAGE: + of TAG_IMG: let window = element.document.window if window != nil: let image = HTMLImageElement(element) |