mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix: also check type
Co-authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com>
This commit is contained in:
parent
be26da26f8
commit
e64a5ed6d6
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ $(document).on('pageinit', '#encodingSettingsPage', function () {
|
|||
page.querySelector('.fldIntelLp').classList.add('hide');
|
||||
}
|
||||
|
||||
if ((this.value == 'videotoolbox')) {
|
||||
if (this.value === 'videotoolbox') {
|
||||
page.querySelector('.videoToolboxTonemappingOptions').classList.remove('hide');
|
||||
} else {
|
||||
page.querySelector('.videoToolboxTonemappingOptions').classList.add('hide');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue