Fix code styling
This commit is contained in:
parent
652d0963fc
commit
f2d2e08fa2
1 changed files with 6 additions and 6 deletions
|
@ -234,29 +234,29 @@
|
|||
},
|
||||
|
||||
openDropped: function(e) {
|
||||
if (e.originalEvent.dataTransfer.types[0] != "Files") return;
|
||||
if (e.originalEvent.dataTransfer.types[0] != 'Files') return;
|
||||
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
this.file = e.originalEvent.dataTransfer.files[0];
|
||||
this.previewImages();
|
||||
this.$el.removeClass("dropoff");
|
||||
this.$el.removeClass('dropoff');
|
||||
},
|
||||
|
||||
showArea: function(e) {
|
||||
if (e.originalEvent.dataTransfer.types[0] != "Files") return;
|
||||
if (e.originalEvent.dataTransfer.types[0] != 'Files') return;
|
||||
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
this.$el.addClass("dropoff");
|
||||
this.$el.addClass('dropoff');
|
||||
},
|
||||
|
||||
hideArea: function(e) {
|
||||
if (e.originalEvent.dataTransfer.types[0] != "Files") return;
|
||||
if (e.originalEvent.dataTransfer.types[0] != 'Files') return;
|
||||
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
this.$el.removeClass("dropoff");
|
||||
this.$el.removeClass('dropoff');
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue