From d2c9def028f2e9a3a209e633abcc4f078c2dfd6b Mon Sep 17 00:00:00 2001 From: Mikunj Date: Fri, 30 Nov 2018 09:20:52 +1100 Subject: [PATCH] Fix code comment. --- js/views/conversation_view.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/js/views/conversation_view.js b/js/views/conversation_view.js index a77f4941f..763fad932 100644 --- a/js/views/conversation_view.js +++ b/js/views/conversation_view.js @@ -477,14 +477,16 @@ // ALWAYS HIDE until we support audio this.$('.capture-audio').hide(); - // if ( - // this.$('.send-message').val().length > 0 || - // this.fileInput.hasFiles() - // ) { - // this.$('.capture-audio').hide(); - // } else { - // this.$('.capture-audio').show(); - // } + /* + if ( + this.$('.send-message').val().length > 0 || + this.fileInput.hasFiles() + ) { + this.$('.capture-audio').hide(); + } else { + this.$('.capture-audio').show(); + } + */ }, toggleLengthWarning() { if (this.$('.send-message').val().length > 2000) {