Skip to content

Commit ba91f23

Browse files
committed
Fix linting issues
1 parent ad4f303 commit ba91f23

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/js/captions.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ const captions = {
127127
.filter(track => !meta.get(track))
128128
.forEach(track => {
129129
this.debug.log('Track added', track);
130+
130131
// Attempt to store if the original dom element was "default"
131132
meta.set(track, {
132133
default: track.mode === 'showing',
@@ -137,6 +138,7 @@ const captions = {
137138
// isn't downloaded at once, only 'showing' tracks should be reassigned
138139
// eslint-disable-next-line no-param-reassign
139140
if (track.mode === 'showing') {
141+
// eslint-disable-next-line no-param-reassign
140142
track.mode = 'hidden';
141143
}
142144

src/js/fullscreen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// ==========================================================================
66

77
import browser from './utils/browser';
8-
import { getElements, hasClass, toggleClass, closest } from './utils/elements';
8+
import { closest,getElements, hasClass, toggleClass } from './utils/elements';
99
import { on, triggerEvent } from './utils/events';
1010
import is from './utils/is';
1111
import { silencePromise } from './utils/promise';

0 commit comments

Comments
 (0)