FIX: ability to import an exported query (#37)

This commit is contained in:
Mark VanLandingham 2019-09-17 01:20:33 -05:00 committed by Sam
parent 844f96d146
commit 7193d11ee6
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export default Ember.Component.extend({
const fileInput = this.element.querySelector("#js-file-input");
this.set("fileInput", fileInput);
$(fileInput).on("change", () => this.fileSelected(this.files));
$(fileInput).on("change", () => this.fileSelected(fileInput.files));
$this.on("dragover", e => {
if (e.preventDefault) e.preventDefault();