Currently selected page is marked by a <span class="mkwsSelected">
authorMike Taylor <mike@indexdata.com>
Thu, 10 Apr 2014 12:20:48 +0000 (13:20 +0100)
committerMike Taylor <mike@indexdata.com>
Thu, 10 Apr 2014 12:20:48 +0000 (13:20 +0100)
src/mkws-widgets.js

index 087ce89..3901f67 100644 (file)
@@ -190,7 +190,7 @@ mkws.registerWidgetType('Pager', function() {
            for(var i = firstClkbl; i <= lastClkbl; i++) {
                var numLabel = i;
                if(i == currentPage)
-                   numLabel = '<b>' + i + '</b>';
+                   numLabel = '<span class="mkwsSelected">' + i + '</span>';
 
                middle += '<a href="#" onclick="mkws.showPage(\'' + teamName + '\', ' + i + ')"> '
                    + numLabel + ' </a>';