From: Jason Skomorowski Date: Mon, 3 Nov 2014 17:52:52 +0000 (-0500) Subject: Switch pager from 12 pages to 10 to fit better on mobile. X-Git-Tag: 1.0.0~83^2~16 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=4b96703096cdf60190e9239951712b48aeff2ac8;p=mkws-moved-to-github.git Switch pager from 12 pages to 10 to fit better on mobile. --- diff --git a/src/mkws-widget-main.js b/src/mkws-widget-main.js index ac43dcd..7fe78ef 100644 --- 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 - var onsides = 6; + var onsides = 5; var pages = Math.ceil(that.team.totalRecordCount() / that.team.perpage()); var currentPage = that.team.currentPage();