From 59713cdf6a1596fb1b7293af1c5da9a6fc1f2475 Mon Sep 17 00:00:00 2001 From: gtlt Date: Tue, 4 Jul 2017 00:12:15 +0200 Subject: [PATCH] add page-item and page-link for bootstrap4 --- src/js/components/paging/FooTable.Paging.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/components/paging/FooTable.Paging.js b/src/js/components/paging/FooTable.Paging.js index adf3901d..51491306 100644 --- a/src/js/components/paging/FooTable.Paging.js +++ b/src/js/components/paging/FooTable.Paging.js @@ -451,7 +451,7 @@ 'class': klass }).attr('data-page', attr) .append($('', { - 'class': 'footable-page-link', + 'class': 'footable-page-link page-link', href: '#' }).data('page', attr).html(html)); }; @@ -464,7 +464,7 @@ } } for (var i = 0, $li; i < self.total; i++){ - $li = link(i + 1, i + 1, 'footable-page'); + $li = link(i + 1, i + 1, 'footable-page page-item'); self.$pagination.append($li); } if (multiple){ @@ -581,4 +581,4 @@ F.components.register('paging', F.Paging, 400); -})(jQuery, FooTable); \ No newline at end of file +})(jQuery, FooTable);