This commit is contained in:
Infinite
2020-01-04 22:46:08 +01:00
parent 4d44deff64
commit f50cb45ca5
25 changed files with 188 additions and 241 deletions

View File

@@ -15,7 +15,7 @@ export class ImageUtils {
}
public static pasteImage(e : any, onLoadEnd: (this: FileReader) => any) {
if (e.clipboardData.files.length == 0) {
if (e.clipboardData.files.length === 0) {
return;
}
@@ -31,4 +31,4 @@ export class ImageUtils {
return () => window.removeEventListener("paste", pasteImage);
});
}
}
}