This commit is contained in:
Ikarulus 2017-05-31 13:34:03 +02:00 committed by Scott Nonnenberg
parent ec3278ca3a
commit 068cf5092c

View file

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