Skip to content

Commit 0e99041

Browse files
committed
Use version for check
1 parent 1d8c63c commit 0e99041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ if ((typeof document !== 'undefined') && (typeof window !== 'undefined') && (typ
7878
}
7979
});
8080

81-
if (browser.isChrome || browser.isChromeHeadless)
81+
if (browser.chromeVersion)
8282
browser.isWin = navigator.userAgentData.platform === 'Windows';
8383
else {
8484
browser.isFirefox = navigator.userAgent.indexOf('Firefox') >= 0;

0 commit comments

Comments
 (0)