Browse Source

Fix linting issues

reviewable/pr190/r10
Samuel Attard 6 years ago
parent
commit
f938b0b9a3
  1. 5
      src/inject/settings/general.js

5
src/inject/settings/general.js

@ -9,7 +9,10 @@ if (Settings.get('playbackAPI', false)) {
}
$('#voice-controls').change((e) => {
Emitter.fire('settings:set', { key: 'speechRecognition', value: $(e.currentTarget).is(':checked') });
Emitter.fire('settings:set', {
key: 'speechRecognition',
value: $(e.currentTarget).is(':checked'),
});
});
if (Settings.get('speechRecognition', false)) {

Loading…
Cancel
Save