Skip to content

Commit

Permalink
Merge pull request #1269 from podverse/develop
Browse files Browse the repository at this point in the history
Release v4.16.0-prod.2
  • Loading branch information
mitchdowney authored Apr 10, 2024
2 parents 0673206 + 6de8cf1 commit f39ef79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/EmbedPlayer/EmbedPlayerHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ export const EmbedPlayerHeader = ({ hideFullView }: Props) => {
const callback = (e: MessageEvent<MessageData>) => {
switch (e.data.command) {
case 'seek':
let offset = e.data.parameter as number
// eslint-disable-next-line no-case-declarations
const offset = e.data.parameter as number
if (!Number.isFinite(offset))
{
console.log(`Invalid parameter for seek command! '${e.data.parameter}' is not a number!`);
Expand Down

0 comments on commit f39ef79

Please sign in to comment.