Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
梁志锋
2015-12-16 21:20:19 +0800
Commit
cbd5d3344dc6758796eb297339f3a95a04e1a0b5
2 parents
7a7fe887
f69f6100
Merge branch 'fix/detail' into 'develop'
优化为你优选加载时机 See merge request !40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
static/js/product/recommend-for-you-product-desc.js
static/js/product/recommend-for-you-product-desc.js
View file @
cbd5d33
...
...
@@ -43,6 +43,8 @@ function request() {
requesting
=
false
;
end
=
true
;
window
.
rePosFooter
();
}).
fail
(
function
()
{
$recommendForYou
.
hide
();
});
...
...
@@ -50,7 +52,7 @@ function request() {
}
function
scrollHandler
()
{
if
(
!
end
||
$
(
window
).
scrollTop
()
+
winH
>=
$
(
document
).
height
()
-
5
0
)
{
if
(
!
end
||
$
(
window
).
scrollTop
()
+
winH
>=
$
(
document
).
height
()
-
20
0
)
{
request
();
}
}
...
...
Please
register
or
login
to post a comment