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 10, 2024
1 parent 39cec9a commit a50dd30
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 a50dd30

Please sign in to comment.