diff --git a/js/views/file_input_view.js b/js/views/file_input_view.js index 15d3c667..4055cd60 100644 --- a/js/views/file_input_view.js +++ b/js/views/file_input_view.js @@ -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'); } }); })();