mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-03-28 12:12:02 +01:00
@@ -6,7 +6,7 @@ const isIosPwa = () => {
|
||||
const ua = window.navigator.userAgent.toLowerCase();
|
||||
const isIos = /iphone|ipad|ipod/.test(ua) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1);
|
||||
const isStandalone = window.navigator.standalone === true || window.matchMedia('(display-mode: standalone)').matches;
|
||||
return true || isIos && isStandalone;
|
||||
return isIos && isStandalone;
|
||||
};
|
||||
|
||||
const ptrMarkup = `
|
||||
|
||||
Reference in New Issue
Block a user