We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c9a93d + 4302205 commit 7a4fcd7Copy full SHA for 7a4fcd7
jet/static/jet/js/src/layout-updaters/paginator.js
@@ -16,9 +16,9 @@ PaginatorUpdater.prototype = {
16
if (($node.prev().prop('tagName') == 'A' || $node.prev().prop('tagName') == 'SPAN')
17
&& ($node.next().prop('tagName') == 'A' || $node.next().prop('tagName') == 'SPAN')) {
18
19
- if ($.trim($node.text()) == '...') {
+ if ($node.text().trim() == '...' || $node.text().trim() == '…') {
20
$node.wrap($('<span>').addClass('disabled'));
21
- } else if ($.trim($node.text()) == '') {
+ } else if ($node.text().trim() == '') {
22
$node.remove();
23
}
24
0 commit comments