Skip to content

Commit

Permalink
Fixed demo error.
Browse files Browse the repository at this point in the history
  • Loading branch information
blueimp committed Jun 11, 2013
1 parent ac19731 commit 6fe3dc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ <h2>Result</h2>
dropChangeHandler = function (e) {
e = e.originalEvent;
e.preventDefault();
var files = e.dataTransfer || e.target,
file = files && files[0],
var target = e.dataTransfer || e.target,
file = target && target.files && target.files[0],
options = {
maxWidth: result.children().outerWidth(),
canvas: true
Expand Down

0 comments on commit 6fe3dc9

Please sign in to comment.