mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-25 19:08:04 +01:00
Fixup attachment preview
This commit is contained in:
@@ -85,7 +85,8 @@ var Whisper = Whisper || {};
|
||||
this.thumb.remove();
|
||||
},
|
||||
|
||||
deleteFiles: function() {
|
||||
deleteFiles: function(e) {
|
||||
if (e) { e.stopPropagation(); }
|
||||
this.clearForm();
|
||||
this.$input.wrap('<form>').parent('form').trigger('reset');
|
||||
this.$input.unwrap();
|
||||
|
||||
Reference in New Issue
Block a user