Lint fixes
This commit is contained in:
parent
2138395bcb
commit
f379c72aba
2 changed files with 5 additions and 3 deletions
|
@ -1682,7 +1682,9 @@
|
||||||
handleAudioConfirm(blob, lostFocus) {
|
handleAudioConfirm(blob, lostFocus) {
|
||||||
const dialog = new Whisper.ConfirmationDialogView({
|
const dialog = new Whisper.ConfirmationDialogView({
|
||||||
cancelText: i18n('discard'),
|
cancelText: i18n('discard'),
|
||||||
message: lostFocus ? i18n('voiceRecordingInterruptedBlur') : i18n('voiceRecordingInterruptedMax'),
|
message: lostFocus
|
||||||
|
? i18n('voiceRecordingInterruptedBlur')
|
||||||
|
: i18n('voiceRecordingInterruptedMax'),
|
||||||
okText: i18n('sendAnyway'),
|
okText: i18n('sendAnyway'),
|
||||||
resolve: async () => {
|
resolve: async () => {
|
||||||
await this.handleAudioCapture(blob);
|
await this.handleAudioCapture(blob);
|
||||||
|
|
|
@ -793,7 +793,7 @@
|
||||||
"rule": "jQuery-$(",
|
"rule": "jQuery-$(",
|
||||||
"path": "js/views/recorder_view.js",
|
"path": "js/views/recorder_view.js",
|
||||||
"line": " this.$('.time').text(`${minutes}:${seconds}`);",
|
"line": " this.$('.time').text(`${minutes}:${seconds}`);",
|
||||||
"lineNumber": 50,
|
"lineNumber": 51,
|
||||||
"reasonCategory": "usageTrusted",
|
"reasonCategory": "usageTrusted",
|
||||||
"updated": "2018-09-19T21:59:32.770Z",
|
"updated": "2018-09-19T21:59:32.770Z",
|
||||||
"reasonDetail": "Protected from arbitrary input"
|
"reasonDetail": "Protected from arbitrary input"
|
||||||
|
@ -802,7 +802,7 @@
|
||||||
"rule": "jQuery-$(",
|
"rule": "jQuery-$(",
|
||||||
"path": "js/views/recorder_view.js",
|
"path": "js/views/recorder_view.js",
|
||||||
"line": " $(window).off('blur', this.onSwitchAwayBound);",
|
"line": " $(window).off('blur', this.onSwitchAwayBound);",
|
||||||
"lineNumber": 81,
|
"lineNumber": 82,
|
||||||
"reasonCategory": "usageTrusted",
|
"reasonCategory": "usageTrusted",
|
||||||
"updated": "2018-10-11T19:22:47.331Z",
|
"updated": "2018-10-11T19:22:47.331Z",
|
||||||
"reasonDetail": "Operating on already-existing DOM elements"
|
"reasonDetail": "Operating on already-existing DOM elements"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue