Skip to content

Commit d007a9c

Browse files
Use single guillemets for previous/next page
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 › »`).
1 parent 533d59f commit d007a9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/internal.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ function renderPagination()
459459

460460
renderPaginationItem.call(this, pagination, "first", "&laquo;", "first")
461461
._bgEnableAria(current > 1);
462-
renderPaginationItem.call(this, pagination, "prev", "&lt;", "prev")
462+
renderPaginationItem.call(this, pagination, "prev", "&lsaquo;", "prev")
463463
._bgEnableAria(current > 1);
464464

465465
for (var i = 0; i < count; i++)
@@ -475,7 +475,7 @@ function renderPagination()
475475
._bgEnableAria(false)._bgSelectAria();
476476
}
477477

478-
renderPaginationItem.call(this, pagination, "next", "&gt;", "next")
478+
renderPaginationItem.call(this, pagination, "next", "&rsaquo;", "next")
479479
._bgEnableAria(totalPages > current);
480480
renderPaginationItem.call(this, pagination, "last", "&raquo;", "last")
481481
._bgEnableAria(totalPages > current);
@@ -945,4 +945,4 @@ function sortRows()
945945
this.rows.sort(sort);
946946
}
947947
}
948-
}
948+
}

0 commit comments

Comments
 (0)