diff --git a/js/views/conversation_view.js b/js/views/conversation_view.js index 1a59a3b66..ba1def770 100644 --- a/js/views/conversation_view.js +++ b/js/views/conversation_view.js @@ -1682,7 +1682,9 @@ handleAudioConfirm(blob, lostFocus) { const dialog = new Whisper.ConfirmationDialogView({ cancelText: i18n('discard'), - message: lostFocus ? i18n('voiceRecordingInterruptedBlur') : i18n('voiceRecordingInterruptedMax'), + message: lostFocus + ? i18n('voiceRecordingInterruptedBlur') + : i18n('voiceRecordingInterruptedMax'), okText: i18n('sendAnyway'), resolve: async () => { await this.handleAudioCapture(blob); diff --git a/ts/util/lint/exceptions.json b/ts/util/lint/exceptions.json index 7254bbb69..5ff02d0ca 100644 --- a/ts/util/lint/exceptions.json +++ b/ts/util/lint/exceptions.json @@ -793,7 +793,7 @@ "rule": "jQuery-$(", "path": "js/views/recorder_view.js", "line": " this.$('.time').text(`${minutes}:${seconds}`);", - "lineNumber": 50, + "lineNumber": 51, "reasonCategory": "usageTrusted", "updated": "2018-09-19T21:59:32.770Z", "reasonDetail": "Protected from arbitrary input" @@ -802,7 +802,7 @@ "rule": "jQuery-$(", "path": "js/views/recorder_view.js", "line": " $(window).off('blur', this.onSwitchAwayBound);", - "lineNumber": 81, + "lineNumber": 82, "reasonCategory": "usageTrusted", "updated": "2018-10-11T19:22:47.331Z", "reasonDetail": "Operating on already-existing DOM elements"