pull/749/head
Ikarulus 8 years ago committed by Scott Nonnenberg
parent ec3278ca3a
commit 068cf5092c

@ -181,7 +181,7 @@
this.$('.capture-audio').show(); this.$('.capture-audio').show();
} }
}, },
toggleLenghtWarning: function() { toggleLengthWarning: function() {
if (this.$('.send-message').val().length > 2000 || this.fileInput.hasFiles()) { if (this.$('.send-message').val().length > 2000 || this.fileInput.hasFiles()) {
this.$('.android-length-warning').show(); this.$('.android-length-warning').show();
} else { } else {
@ -638,7 +638,7 @@
return this.$('.bottom-bar form').submit(); return this.$('.bottom-bar form').submit();
} }
this.toggleMicrophone(); this.toggleMicrophone();
this.toggleLenghtWarning(); this.toggleLengthWarning();
this.view.measureScrollPosition(); this.view.measureScrollPosition();
window.autosize(this.$messageField); window.autosize(this.$messageField);

Loading…
Cancel
Save