|
@@ -371,11 +371,13 @@ var _Dever_Page =
|
|
|
{
|
|
|
if ($(this.name).length) {
|
|
|
var self = this;
|
|
|
- $(window).scroll(function() {
|
|
|
- if ($(window).scrollTop() >= $(document).height() - $(window).height()) {
|
|
|
- self.Start(self.name, self.loading);
|
|
|
- }
|
|
|
- });
|
|
|
+ if (navigator.userAgent.match(/mobile/i)) {
|
|
|
+ $(window).scroll(function() {
|
|
|
+ if ($(window).scrollTop() >= $(document).height() - $(window).height()) {
|
|
|
+ self.Start(self.name, self.loading);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
|
|
|
if (self.button && $(self.button).length) {
|
|
|
$(self.button).click(function() {
|