Skip to content

Commit

Permalink
use browser.tv
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
  • Loading branch information
gnattu and dmitrylyzo authored May 21, 2024
1 parent 0271ae4 commit 11e3bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/keyboardNavigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export function enable() {
}

// Ignore Media Keys for non-TV platform having MediaSession API
if (!layoutManager.tv && isMediaKey(key) && hasMediaSession) {
if (!browser.tv && isMediaKey(key) && hasMediaSession) {
return;
}

Expand Down

0 comments on commit 11e3bf3

Please sign in to comment.