From d007a9c59f472addf0e817b514a6678b3d487f57 Mon Sep 17 00:00:00 2001 From: MichaelDeciso <42928941+MichaelDeciso@users.noreply.github.com> Date: Thu, 11 Oct 2018 09:26:38 +0200 Subject: [PATCH] Use single guillemets for previous/next page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently, pagination uses double guillemets for first/last page and lower than/greater than signs for previous next (like so: `« < 1 2 3 > »`). This looks ugly. Change this to use single guillemets, for visual consistency (like so: `« ‹ 1 2 3 › »`). --- src/internal.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/internal.js b/src/internal.js index 117f4f2..1c1c731 100644 --- a/src/internal.js +++ b/src/internal.js @@ -459,7 +459,7 @@ function renderPagination() renderPaginationItem.call(this, pagination, "first", "«", "first") ._bgEnableAria(current > 1); - renderPaginationItem.call(this, pagination, "prev", "<", "prev") + renderPaginationItem.call(this, pagination, "prev", "‹", "prev") ._bgEnableAria(current > 1); for (var i = 0; i < count; i++) @@ -475,7 +475,7 @@ function renderPagination() ._bgEnableAria(false)._bgSelectAria(); } - renderPaginationItem.call(this, pagination, "next", ">", "next") + renderPaginationItem.call(this, pagination, "next", "›", "next") ._bgEnableAria(totalPages > current); renderPaginationItem.call(this, pagination, "last", "»", "last") ._bgEnableAria(totalPages > current); @@ -945,4 +945,4 @@ function sortRows() this.rows.sort(sort); } } -} \ No newline at end of file +}