...
|
...
|
@@ -12,7 +12,6 @@ var $ = require('jquery'), |
|
|
|
|
|
var navHammer,
|
|
|
winH = $(window).height(),
|
|
|
loadMoreH = $('#load-more').height(),
|
|
|
$goodList = $('#goods-list'),
|
|
|
searching = false,
|
|
|
page = 0,
|
...
|
...
|
@@ -140,7 +139,7 @@ $('.maybe-like p').on('touchstart', function (e) { |
|
|
|
|
|
//srcoll to load more
|
|
|
$(window).scroll(function () {
|
|
|
if ($(window).scrollTop() + winH >= $(document).height() - loadMoreH - 50) {
|
|
|
if ($(window).scrollTop() + winH >= $(document).height()) {
|
|
|
search();
|
|
|
}
|
|
|
}); |
|
|
\ No newline at end of file |
...
|
...
|
|