mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Fix code styling
This commit is contained in:
@@ -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');
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user