diff --git a/js/index.js b/js/index.js index 841edb1..2083195 100644 --- a/js/index.js +++ b/js/index.js @@ -387,7 +387,7 @@ window.onload = function () { if (filterSelectorEntry === null) { throw new Error('Could not find "filter-selector-entry"'); } - var imageSelectorEntry = document.getElementById('filter-selector-entry'); + var imageSelectorEntry = document.getElementById('image-selector-entry'); if (imageSelectorEntry === null) { throw new Error('Could not find "image-selector-entry"'); } diff --git a/ts/index.ts b/ts/index.ts index ebad495..db1a73e 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -518,7 +518,7 @@ window.onload = () => { if (filterSelectorEntry === null) { throw new Error('Could not find "filter-selector-entry"'); } - const imageSelectorEntry = document.getElementById('filter-selector-entry'); + const imageSelectorEntry = document.getElementById('image-selector-entry'); if (imageSelectorEntry === null) { throw new Error('Could not find "image-selector-entry"'); }