diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/initImages.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/initImages.ts b/js/initImages.ts index 7bff4b5..3e6a175 100644 --- a/js/initImages.ts +++ b/js/initImages.ts @@ -1,7 +1,7 @@ function initImages() { - let content = document.getElementById("content")!; + let page = document.getElementById("page")!; - let image_list = Array.from(content.getElementsByTagName("x-image")); + let image_list = Array.from(page.getElementsByTagName("x-image")); for (let image of image_list) { let file = image.getAttribute("data-file")!; console.log("initialising image that links to \"" + file + "\""); |