fix: file drop error

Dropping a file triggered the error: "Uncaught ReferenceError: e is not defined".
I've fixed what I believe to be a typo and now it works.