diff --git a/js/views/conversation_view.js b/js/views/conversation_view.js index 59e23c1ce..714a515a1 100644 --- a/js/views/conversation_view.js +++ b/js/views/conversation_view.js @@ -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);