Merge pull request #191 from mjhasbach/#190

Fix #190: Conditional paging didn't always appear
pull/192/head
Allan Jardine 10 years ago
commit beb0516793

@ -42,7 +42,7 @@
var $paging = $(api.table().container()).find('div.dataTables_paginate'),
pages = api.page.info().pages;
if ($.isPlainObject(e)) {
if (e instanceof $.Event) {
if (pages <= 1) {
if (config.style === 'fade') {
$paging.stop().fadeTo(speed, 0);

Loading…
Cancel
Save