Add parseInt radix
This commit is contained in:
parent
48886918d3
commit
6ef3be136a
2 changed files with 3 additions and 3 deletions
|
@ -1200,7 +1200,7 @@ function tryRemoveElement(elem) {
|
|||
console.debug(`downloaded ${data.TrackEvents.length} track events`);
|
||||
|
||||
const subtitleAppearance = userSettings.getSubtitleAppearanceSettings();
|
||||
const cueLine = parseInt(subtitleAppearance.verticalPosition);
|
||||
const cueLine = parseInt(subtitleAppearance.verticalPosition, 10);
|
||||
|
||||
// add some cues to show the text
|
||||
// in safari, the cues need to be added before setting the track mode to showing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue