Skip to content

Commit 3e0ed9b

Browse files
authored
Merge pull request #121 from codeitcodes/dev
Dev
2 parents c3d118f + e81b855 commit 3e0ed9b

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)