Switch pager from 12 pages to 10 to fit better on mobile.
authorJason Skomorowski <jason@indexdata.com>
Mon, 3 Nov 2014 17:52:52 +0000 (12:52 -0500)
committerJason Skomorowski <jason@indexdata.com>
Mon, 3 Nov 2014 17:52:52 +0000 (12:52 -0500)
src/mkws-widget-main.js

index ac43dcd..7fe78ef 100644 (file)
@@ -55,7 +55,7 @@ mkws.registerWidgetType('pager', function() {
     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();