diff options
Diffstat (limited to 'src')
-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 e326f904..fe4d7a32 100644 --- a/src/html/dom.nim +++ b/src/html/dom.nim @@ -3933,7 +3933,7 @@ proc loadResource*(window: Window; image: HTMLImageElement) = height: height, cacheId: cacheId, imageId: window.getImageId(), - contentType: contentType + contentType: "image/" & t ) image.bitmap = bmp cachedURL.bmp = bmp |