Merge branch 'master' of github.com:jean-emmanuel/open-stage-control
This commit is contained in:
commit
c49d74a262
1 changed files with 5 additions and 2 deletions
|
|
@ -1,8 +1,11 @@
|
|||
// Prevent iOS Pull-To-Refresh
|
||||
|
||||
var iOS
|
||||
var iOS13 = navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1,
|
||||
iOS = navigator.platform.match(/iPhone|iPod|iPad/) || iOS13
|
||||
|
||||
if (navigator.platform.match(/iPhone|iPod|iPad/) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1)) {
|
||||
if (iOS && !iOS13) {
|
||||
// prevent overscroll
|
||||
// breaks scrolling on iOS13 (besides it doesn't seem to be needed)
|
||||
|
||||
var supportsPassiveOption = false
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue