From: Mike Taylor Date: Wed, 12 Feb 2014 12:09:35 +0000 (+0000) Subject: Replace mkwsPrev/mkwsNext IDs with classes. See MKWS-115. X-Git-Tag: 1.0.0~1475 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=d86397504bc971cff017edd9b3bf6dc208d09b65 Replace mkwsPrev/mkwsNext IDs with classes. See MKWS-115. These classes are not needed by the MKWS code, but are made available so they can be styled. (Also the Jasmine test-suite uses them.) --- diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 3b907aa..35a00f7 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -618,9 +618,9 @@ function team($, teamName) { ? firstClkbl + 2*onsides : pages; - var prev = '<< ' + M('Prev') + ' | '; + var prev = '<< ' + M('Prev') + ' | '; if (m_curPage > 1) - prev = '' + prev = '' +'<< ' + M('Prev') + ' | '; var middle = ''; @@ -633,9 +633,9 @@ function team($, teamName) { + numLabel + ' '; } - var next = ' | ' + M('Next') + ' >>'; + var next = ' | ' + M('Next') + ' >>'; if (pages - m_curPage > 0) - next = ' | ' + next = ' | ' + M('Next') + ' >>'; var predots = '';