Skip to content

Commit

Permalink
fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemoehre committed Nov 8, 2024
1 parent ba91a1f commit 97f8d76
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/upnextdialog/upnextdialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ function setNextVideoText() {

let nextVideoText;
if (instance.itemType === 'Episode') {
nextVideoText = instance.showStaticNextText
? globalize.translate('HeaderNextEpisode')
: globalize.translate('HeaderNextEpisodePlayingInValue', timeText);
nextVideoText = instance.showStaticNextText ?
globalize.translate('HeaderNextEpisode') :
globalize.translate('HeaderNextEpisodePlayingInValue', timeText);
} else {
nextVideoText = instance.showStaticNextText
? globalize.translate('HeaderNextVideo')
: globalize.translate('HeaderNextVideoPlayingInValue', timeText);
nextVideoText = instance.showStaticNextText ?
globalize.translate('HeaderNextVideo') :
globalize.translate('HeaderNextVideoPlayingInValue', timeText);
}

elem.querySelector('.upNextDialog-nextVideoText').innerHTML = nextVideoText;
Expand Down

0 comments on commit 97f8d76

Please sign in to comment.