Fixed a bug in which $.isPlainObject(e) would return false in some situations and true in others, causing the associated logic to sometimes be skipped. Switched to a more specific e instanceof $.Event check. Fixes DataTables/Plugins#190

pull/191/head
Matthew Hasbach 10 years ago
parent cbad0bd293
commit 4e80867442

@ -38,7 +38,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