projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5d2d847
)
Switch pager from 12 pages to 10 to fit better on mobile.
author
Jason Skomorowski
<jason@indexdata.com>
Mon, 3 Nov 2014 17:52:52 +0000
(12:52 -0500)
committer
Jason Skomorowski
<jason@indexdata.com>
Mon, 3 Nov 2014 17:52:52 +0000
(12:52 -0500)
src/mkws-widget-main.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-main.js
b/src/mkws-widget-main.js
index
ac43dcd
..
7fe78ef
100644
(file)
--- a/
src/mkws-widget-main.js
+++ b/
src/mkws-widget-main.js
@@
-55,7
+55,7
@@
mkws.registerWidgetType('pager', function() {
output.found = data.total;
//client indexes pages from 1 but pz2 from 0
output.found = data.total;
//client indexes pages from 1 but pz2 from 0
- var onsides = 6;
+ var onsides = 5;
var pages = Math.ceil(that.team.totalRecordCount() / that.team.perpage());
var currentPage = that.team.currentPage();
var pages = Math.ceil(that.team.totalRecordCount() / that.team.perpage());
var currentPage = that.team.currentPage();