|
|
|
@ -342,7 +342,7 @@
@@ -342,7 +342,7 @@
|
|
|
|
|
this.$content.attr('tabindex', this.options.tabIndex || 0); |
|
|
|
|
this.content = this.$content[0]; |
|
|
|
|
this.previousPosition = 0; |
|
|
|
|
if (this.options.iOSNativeScrolling && (this.el.style.WebkitOverflowScrolling != null)) { |
|
|
|
|
if (this.options.iOSNativeScrolling && (this.el.style.WebkitOverflowScrolling != null || navigator.userAgent.match(/mobi.+Gecko/i))) { |
|
|
|
|
this.nativeScrolling(); |
|
|
|
|
} else { |
|
|
|
|
this.generate(); |
|
|
|
|