app/assets/javascripts/dataTables/dataTables.bootstrap.js in effective_datatables-2.12.2 vs app/assets/javascripts/dataTables/dataTables.bootstrap.js in effective_datatables-3.0.0
- old
+ new
@@ -170,10 +170,10 @@
attach(
$(host).empty().html('<ul class="pagination"/>').children('ul'),
buttons
);
- if ( activeEl ) {
+ if ( activeEl !== undefined ) {
$(host).find( '[data-dt-idx='+activeEl+']' ).focus();
}
};