mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-28 01:54:15 +01:00
Update media/src/core/core.ajax.js
Remove unnecessary else(s)
This commit is contained in:
parent
6b605936f7
commit
a3b5706105
@ -1,5 +1,4 @@
|
||||
|
||||
|
||||
/**
|
||||
* Update the table using an Ajax call
|
||||
* @param {object} oSettings dataTables settings object
|
||||
@ -22,10 +21,7 @@ function _fnAjaxUpdate( oSettings )
|
||||
}, oSettings );
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@ -133,10 +129,7 @@ function _fnAjaxUpdateDraw ( oSettings, json )
|
||||
{
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
oSettings.iDraw = json.sEcho * 1;
|
||||
}
|
||||
oSettings.iDraw = json.sEcho * 1;
|
||||
}
|
||||
|
||||
if ( !oSettings.oScroll.bInfinite ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user