Add support for dataTables.defaults in conditionalPaging plugin

pull/313/head
Constantine Lebedev 8 years ago
parent 9cfad60781
commit a4b72c315e

@ -32,7 +32,7 @@
return; return;
} }
var options = dtSettings.oInit.conditionalPaging; var options = dtSettings.oInit.conditionalPaging || $.fn.dataTable.defaults.conditionalPaging;
if ($.isPlainObject(options) || options === true) { if ($.isPlainObject(options) || options === true) {
var config = $.isPlainObject(options) ? options : {}, var config = $.isPlainObject(options) ? options : {},

Loading…
Cancel
Save