mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-28 22:21:35 +01:00
slash on safari user agent check
This commit is contained in:
parent
b7e97178b1
commit
4f1880b0f6
@ -1,5 +1,5 @@
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const isSafari = (typeof safari !== 'undefined') && navigator.userAgent.indexOf('Safari') !== -1 &&
|
||||
const isSafari = (typeof safari !== 'undefined') && navigator.userAgent.indexOf(' Safari/') !== -1 &&
|
||||
navigator.userAgent.indexOf('Chrome') === -1;
|
||||
|
||||
if (!isSafari) {
|
||||
|
Loading…
Reference in New Issue
Block a user