@urso/core 0.7.85 → 0.7.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/js/lib/helper.js
CHANGED
|
@@ -444,7 +444,16 @@ class LibHelper {
|
|
|
444
444
|
check = true;
|
|
445
445
|
})(navigator.userAgent || navigator.vendor || window.opera);
|
|
446
446
|
|
|
447
|
-
return check;
|
|
447
|
+
return check || Urso.helper.isIpadOS();
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* check for Ipad OS
|
|
452
|
+
*/
|
|
453
|
+
isIpadOS = () => {
|
|
454
|
+
return navigator.maxTouchPoints &&
|
|
455
|
+
navigator.maxTouchPoints > 2 &&
|
|
456
|
+
/MacIntel/.test(navigator.platform);
|
|
448
457
|
}
|
|
449
458
|
|
|
450
459
|
/**
|