Skip to content

Commit 727b815

Browse files
committed
Lint
1 parent 7b9c12e commit 727b815

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/scripts/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ if (__DEV__) {
174174
(window as any).checkChannels = async () => {
175175
const channels = await getChannels();
176176
const creators = await loadCreators();
177-
for (let channel of channels) {
177+
for (const channel of channels) {
178178
const match = creators.find(c => c.nebula === channel.slug || c.nebulaAlt === channel.slug);
179179
if (match) continue;
180180
console.warn('Creator', channel.slug, '(', channel.title, ') has no entry in creators list');

src/scripts/page/player.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,11 +288,11 @@ const keydownHandler = (e: KeyboardEvent) => {
288288
case 'p':
289289
sendMessage(Message.QUEUE_PREV, null, false);
290290
break;
291-
case 'z':
291+
case 'z': {
292292
const curPos = player.currentTime;
293293
if (lastPositon != undefined) player.currentTime = lastPositon;
294294
lastPositon = curPos;
295-
break;
295+
} break;
296296
default:
297297
return;
298298
}

0 commit comments

Comments
 (0)