Comparing version 1.2.1 to 1.2.2
@@ -56,4 +56,4 @@ import React from 'react' | ||
} | ||
let bottomLeft = $(document.body).height() - $(window).scrollTop() - $(window).height() | ||
if (bottomLeft < 50 && bottomLeft > 0) { | ||
let bottomLeft = $(document).height() - $(window).scrollTop() - $(window).height() | ||
if (bottomLeft < 50 && bottomLeft >= 0) { | ||
dispatch(actions.setVars('isLoading', true)) | ||
@@ -60,0 +60,0 @@ getMore().finally(function () { |
{ | ||
"name": "fengui", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
133135