Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
douban-api-proxy
Commits
9128615f
Commit
9128615f
authored
Jan 26, 2019
by
Ozzieisaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #424
Fix #425
parent
ec81a3cd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
33 deletions
+16
-33
plugins.js
cps/static/js/libs/plugins.js
+13
-14
main.js
cps/static/js/main.js
+3
-19
No files found.
cps/static/js/libs/plugins.js
View file @
9128615f
This diff is collapsed.
Click to expand it.
cps/static/js/main.js
View file @
9128615f
...
...
@@ -77,30 +77,14 @@ $(function() {
layoutMode
:
"fitRows"
});
/*$(".load-more .row").infinitescroll({
debug: true,
navSelector : ".pagination",
// selector for the paged navigation (it will be hidden)
nextSelector : ".next",
// selector for the NEXT link (to page 2)
itemSelector : ".load-more .book",
animate : true,
extraScrollPx: 300
// selector for all items you'll retrieve
}, function(data) {
$(".load-more .row").isotope( "appended", $(data), null );
});*/
var
$loadMore
=
$
(
".load-more .row"
).
infiniteScroll
({
debug
:
false
,
// hideNav : ".pagination", # ToDo Renable functionn
// selector for the paged navigation (it will be hidden)
path
:
".next"
,
// selector for the NEXT link (to page 2)
append
:
".load-more .book"
,
//animate : true,
append
:
".load-more .book"
//animate : true,
# ToDo: Reenable function
//extraScrollPx: 300
// selector for all items you'll retrieve
});
$loadMore
.
on
(
'append.infiniteScroll'
,
function
(
event
,
response
,
path
,
data
)
{
$
(
".pagination"
).
addClass
(
"hidden"
);
...
...
@@ -218,6 +202,6 @@ $(function() {
});
$
(
window
).
resize
(
function
()
{
$
(
".discover .row"
).
isotope
(
"
reL
ayout"
);
$
(
".discover .row"
).
isotope
(
"
l
ayout"
);
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment