Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOOD
·
Commits
Go to a project
GitLab
Go to group
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
Email Patches
Plain Diff
Browse Files
Authored by
whb
10 years ago
Commit
62fb1ecbb351e5a0d7b95ba228e69171fc701197
1 parent
dedc4c9f
测式bug
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
res/js/mobile.js
res/js/mobile.js
View file @
62fb1ec
...
...
@@ -269,6 +269,7 @@ define('mobile', function(require, exports) {
var
page
=
Math
.
ceil
(
parseInt
(
ajaxPage
)
/
(
total_times
+
1
));
var
totalPage
=
Math
.
ceil
(
total
/
(
limit
*
(
total_times
+
1
)));
if
(
$
(
window
).
scrollTop
()
>=
$
(
document
).
height
()
-
$
(
window
).
height
()
-
50
)
{
alert
(
"test"
);
if
(
total
>
limit
&&
times
<
total_times
&&
page
<
totalPage
)
{
$
.
ajax
({
...
...
Please
register
or
login
to post a comment