summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorWu Cheng-Han2017-03-14 23:08:15 +0800
committerWu Cheng-Han2017-03-14 23:08:15 +0800
commitf55a4b8497ad3e21637769f9de7e600a40dd1189 (patch)
tree645debf504ae3b2232792c224e197cc6e96f8982 /public/js
parent506a381eca5e2bdc31d3529ecd3f1f7797551406 (diff)
Update to fix pagination error in list.js over v1.5.0
Diffstat (limited to 'public/js')
-rw-r--r--public/js/cover.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/public/js/cover.js b/public/js/cover.js
index a45a1c13..c9c2b6cb 100644
--- a/public/js/cover.js
+++ b/public/js/cover.js
@@ -54,11 +54,9 @@ const options = {
'</a>' +
'</li>',
page: 18,
- plugins: [
- window.ListPagination({
- outerWindow: 1
- })
- ]
+ pagination: [{
+ outerWindow: 1
+ }]
}
const historyList = new List('history', options)