mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-18 16:54:14 +01:00
Fix: A stored display start (iInitDisplayStart) of 0 would cause an undesired effect
This commit is contained in:
parent
91c63b8ad5
commit
1e7f3066f9
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -1292,7 +1292,7 @@
|
||||
oSettings.bDrawing = true;
|
||||
|
||||
/* Check and see if we have an initial draw position from state saving */
|
||||
if ( oSettings.iInitDisplayStart && oSettings.iInitDisplayStart != -1 )
|
||||
if ( oSettings.iInitDisplayStart !== undefined && oSettings.iInitDisplayStart != -1 )
|
||||
{
|
||||
if ( oSettings.oFeatures.bServerSide )
|
||||
{
|
||||
|
@ -323,7 +323,7 @@ function _fnDraw( oSettings )
|
||||
oSettings.bDrawing = true;
|
||||
|
||||
/* Check and see if we have an initial draw position from state saving */
|
||||
if ( oSettings.iInitDisplayStart && oSettings.iInitDisplayStart != -1 )
|
||||
if ( oSettings.iInitDisplayStart !== undefined && oSettings.iInitDisplayStart != -1 )
|
||||
{
|
||||
if ( oSettings.oFeatures.bServerSide )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user