From ee6933c0042e561092b5ac844dca1862c54ee3b3 Mon Sep 17 00:00:00 2001 From: luccioman Date: Wed, 21 Dec 2016 07:22:41 +0100 Subject: [PATCH] Added a title on the previous and next page pagination buttons. This is to clarify the meaning of these buttons for users who could think they link respectively to the first and last results page. --- htroot/js/yacysearch.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htroot/js/yacysearch.js b/htroot/js/yacysearch.js index 0b754d23a..a3aa2603b 100644 --- a/htroot/js/yacysearch.js +++ b/htroot/js/yacysearch.js @@ -47,9 +47,9 @@ function renderPaginationButtons(offset, itemscount, itemsperpage, totalcount, l var thispage = Math.floor(offset / itemsperpage); var firstPage = thispage - (thispage % 10); if (thispage == 0) { - resnav += "
  • «
  • "; + resnav += "
  • «
  • "; } else { - resnav += "
  • «
  • "; } @@ -69,9 +69,9 @@ function renderPaginationButtons(offset, itemscount, itemsperpage, totalcount, l } } if ((localQuery && thispage >= (totalPagesNb - 1)) || (!localQuery && thispage >= (numberofpages - 1))) { - resnav += "
  • »
  • "; + resnav += "
  • »
  • "; } else { - resnav += "
  • »"; }