Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cybre-finn authored and scottnonnenberg committed Jun 7, 2017
1 parent ec3278c commit 068cf50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/views/conversation_view.js
Expand Up @@ -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 {
Expand Down Expand Up @@ -638,7 +638,7 @@
return this.$('.bottom-bar form').submit();
}
this.toggleMicrophone();
this.toggleLenghtWarning();
this.toggleLengthWarning();

this.view.measureScrollPosition();
window.autosize(this.$messageField);
Expand Down

0 comments on commit 068cf50

Please sign in to comment.