Skip to content

Commit

Permalink
chore: use proper object ref
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Oct 25, 2023
1 parent 3fee104 commit 33b90c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slick.grid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4642,7 +4642,7 @@ export class SlickGrid<TData = any, C extends Column<TData> = Column<TData>, O e
this._canvasTopR.appendChild(xRight.firstChild as ChildNode);
}
} else {
if (this.rowsCache && this.rowsCache.hasOwnProperty(rows[i]) && xRight.firstChild) {
if (this.rowsCache && this.rowsCache.hasOwnProperty(rows[i]) && x.firstChild) {
this.rowsCache[rows[i]].rowNode = [x.firstChild as HTMLElement];
this._canvasTopL.appendChild(x.firstChild as ChildNode);
}
Expand Down

0 comments on commit 33b90c4

Please sign in to comment.