mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Backport pull request #6408 from jellyfin-web/release-10.10.z
Fix focus loss on popups in Samsung Tizen 8 Smart TVs
Original-merge: cc011feffb
Merged-by: thornbill <thornbill@users.noreply.github.com>
Backported-by: thornbill <thornbill@users.noreply.github.com>
This commit is contained in:
parent
ddb01f2e0d
commit
05cce43ffd
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ export default async function (text, title) {
|
||||||
// Modals seem to be blocked on Web OS and Tizen 2.x
|
// Modals seem to be blocked on Web OS and Tizen 2.x
|
||||||
const canUseNativeAlert = !!(
|
const canUseNativeAlert = !!(
|
||||||
!browser.web0s
|
!browser.web0s
|
||||||
&& !(browser.tizenVersion && browser.tizenVersion < 3)
|
&& !(browser.tizenVersion && (browser.tizenVersion < 3 || browser.tizenVersion >= 8))
|
||||||
&& browser.tv
|
&& browser.tv
|
||||||
&& window.alert
|
&& window.alert
|
||||||
);
|
);
|
||||||
|
|
|
@ -7,7 +7,7 @@ function useNativeConfirm() {
|
||||||
// webOS seems to block modals
|
// webOS seems to block modals
|
||||||
// Tizen 2.x seems to block modals
|
// Tizen 2.x seems to block modals
|
||||||
return !browser.web0s
|
return !browser.web0s
|
||||||
&& !(browser.tizenVersion && browser.tizenVersion < 3)
|
&& !(browser.tizenVersion && (browser.tizenVersion < 3 || browser.tizenVersion >= 8))
|
||||||
&& browser.tv
|
&& browser.tv
|
||||||
&& window.confirm;
|
&& window.confirm;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue