Skip to content

Commit fa05d1b

Browse files
authored
Update live-view.js
1 parent 87e9937 commit fa05d1b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

live-view/live-view.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,8 @@ async function renderLiveViewHTML(file) {
839839

840840
// if iOS version is lower than minimum
841841

842-
const isSafariWithMac = navigator.userAgent.toLowerCase().indexOf('safari') != -1;
842+
const isSafariWithMac = (navigator.userAgent.toLowerCase().includes('safari')
843+
&& !navigator.userAgent.toLowerCase().includes('chrome'));
843844

844845
if (isSafariWithMac) {
845846

0 commit comments

Comments
 (0)