Fix code styling

This commit is contained in:
OdysseasKr 2015-12-09 20:34:23 +02:00 committed by lilia
parent 652d0963fc
commit f2d2e08fa2

View file

@ -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');
}
});
})();