Skip to content

Commit

Permalink
remove unused iw variable
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Apr 12, 2024
1 parent 4fe8395 commit dd7bb82
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/dropzone.js
Original file line number Diff line number Diff line change
Expand Up @@ -2019,7 +2019,6 @@ Dropzone.SUCCESS = "success";
// Fixes a bug which squash image vertically while drawing into canvas for some images.
// This is a bug in iOS6 devices. This function from https://github.com/stomita/ios-imagefile-megapixel
let detectVerticalSquash = function (img) {
let iw = img.naturalWidth;
let ih = img.naturalHeight;
let canvas = document.createElement("canvas");
canvas.width = 1;
Expand Down

0 comments on commit dd7bb82

Please sign in to comment.