mirror of https://github.com/go-gitea/gitea.git
Update web_src/js/features/comp/Cropper.ts
Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
parent
36945d75fd
commit
692fcff98a
|
@ -39,7 +39,7 @@ export function initCompCropper() {
|
|||
showElem(cropperContainer);
|
||||
};
|
||||
|
||||
input.addEventListener('change', (e) => {
|
||||
input.addEventListener('change', (e: Event & {target: HTMLInputElement}) => {
|
||||
const files = e.target.files;
|
||||
|
||||
let reader;
|
||||
|
|
Loading…
Reference in New Issue