Fix var error in fnSetFilteringDelay - just a warning, but good to tidy up

pull/2/head
Allan Jardine 13 years ago
parent 064cc451a0
commit 5db3b46e8e

@ -12,9 +12,11 @@
*/ */
jQuery.fn.dataTableExt.oApi.fnSetFilteringDelay = function ( oSettings, iDelay ) { jQuery.fn.dataTableExt.oApi.fnSetFilteringDelay = function ( oSettings, iDelay ) {
var var _that = this;
_that = this,
iDelay = (typeof iDelay == 'undefined') ? 250 : iDelay; if ( iDelay === undefined ) {
iDelay = 250;
}
this.each( function ( i ) { this.each( function ( i ) {
$.fn.dataTableExt.iApiIndex = i; $.fn.dataTableExt.iApiIndex = i;

Loading…
Cancel
Save