Skip to content

Commit 82b5ae0

Browse files
committed
fixed off-by-one error
1 parent 20cc8b6 commit 82b5ae0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dataTables.rowsGroup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,9 @@ class RowsGroup {
208208
}
209209
}
210210
$(columnNodes[newSequenceRow]).show();
211-
$(columnNodes[newSequenceRow]).attr('rowspan', (iFinishRow - 1) - newSequenceRow + 1);
211+
$(columnNodes[newSequenceRow]).attr('rowspan', iFinishRow - newSequenceRow + 1);
212212
if (columnsIndexesCopy.length > 0) {
213-
this._mergeColumn(newSequenceRow, (iFinishRow - 1), columnsIndexesCopy);
213+
this._mergeColumn(newSequenceRow, iFinishRow, columnsIndexesCopy);
214214
}
215215
}
216216

0 commit comments

Comments
 (0)