mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 07:16:39 +00:00
Only apply on Safari 14.0, and not 14.0.1
This commit is contained in:
parent
e211d812ad
commit
3d0a5642cc
@ -1,5 +1,5 @@
|
||||
// https://github.com/home-assistant/frontend/pull/7031
|
||||
const isSafari14 = /^((?!chrome|android).)*version\/14\.0.*safari/i.test(
|
||||
const isSafari14 = /^((?!chrome|android).)*version\/14\.0\s.*safari/i.test(
|
||||
navigator.userAgent
|
||||
);
|
||||
if (isSafari14) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user