1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add eslint radix rule for parseInt

This commit is contained in:
Bill Thornton 2023-03-09 00:01:05 -05:00
parent 9e784034d3
commit 329cf77c81
42 changed files with 90 additions and 91 deletions

View file

@ -98,11 +98,11 @@ function processGeneralCommand(cmd, apiClient) {
break;
case 'SetAudioStreamIndex':
notifyApp();
playbackManager.setAudioStreamIndex(parseInt(cmd.Arguments.Index));
playbackManager.setAudioStreamIndex(parseInt(cmd.Arguments.Index, 10));
break;
case 'SetSubtitleStreamIndex':
notifyApp();
playbackManager.setSubtitleStreamIndex(parseInt(cmd.Arguments.Index));
playbackManager.setSubtitleStreamIndex(parseInt(cmd.Arguments.Index, 10));
break;
case 'ToggleFullscreen':
inputManager.handleCommand('togglefullscreen');