We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cee70c6 commit 3a1f38eCopy full SHA for 3a1f38e
src/js/_enqueues/admin/user-profile.js
@@ -23,7 +23,7 @@
23
successTimeout,
24
isMac = window.navigator.platform ? window.navigator.platform.indexOf( 'Mac' ) !== -1 : false,
25
ua = navigator.userAgent.toLowerCase(),
26
- isSafari = ua.indexOf( 'safari' ) !== -1 && ua.indexOf( 'chrome' ) === -1,
+ isSafari = window.safari !== 'undefined' && typeof window.safari === 'object',
27
isFirefox = ua.indexOf( 'firefox' ) !== -1;
28
29
function generatePassword() {
0 commit comments