Use 'change' over 'input' to support more options

pull/48/head
544146 2023-04-10 22:16:12 +01:00
parent 905a8a0ac6
commit 4e7b3f7a24
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ const postImageControllerSetupFunction = (controller) => {
const imageContainer = document.getElementById(imageContainerId);
const inputElement = imageContainer.querySelector('input');
inputElement.parentElement.addEventListener('drop', scaleToImg2ImgImage);
inputElement.addEventListener('input', scaleToImg2ImgImage);
inputElement.addEventListener('change', scaleToImg2ImgImage);
})
addImg2ImgTabSwitchClickListeners(controller);