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:
parent
9e784034d3
commit
329cf77c81
42 changed files with 90 additions and 91 deletions
|
@ -348,7 +348,7 @@ export class UserSettings {
|
|||
return this.set('skipBackLength', val.toString());
|
||||
}
|
||||
|
||||
return parseInt(this.get('skipBackLength') || '10000');
|
||||
return parseInt(this.get('skipBackLength') || '10000', 10);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -361,7 +361,7 @@ export class UserSettings {
|
|||
return this.set('skipForwardLength', val.toString());
|
||||
}
|
||||
|
||||
return parseInt(this.get('skipForwardLength') || '30000');
|
||||
return parseInt(this.get('skipForwardLength') || '30000', 10);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue