mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
5ca7a2ad34
commit
a08bf4ec89
12 changed files with 25 additions and 26 deletions
|
@ -213,7 +213,7 @@ $(document).ready(function() {
|
|||
$('#autoRecoverError').prop( "checked", autoRecoverError );
|
||||
$('#enableWorker').prop( "checked", enableWorker );
|
||||
$('#levelCapping').val(levelCapping);
|
||||
$('#defaultAudioCodec').val(defaultAudioCodec);
|
||||
$('#defaultAudioCodec').val(defaultAudioCodec || "undefined");
|
||||
});
|
||||
|
||||
|
||||
|
@ -937,7 +937,7 @@ function timeRangesToString(r) {
|
|||
for (var i = 0; i < sURLVariables.length; i++) {
|
||||
var sParameterName = sURLVariables[i].split('=');
|
||||
if (sParameterName[0] == sParam) {
|
||||
return sParameterName[1];
|
||||
return "undefined" == sParameterName[1] ? undefined : sParameterName[1];
|
||||
}
|
||||
}
|
||||
return defaultValue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue