Skip to content

Commit

Permalink
Process migration to jQuery 4 (#28455)
Browse files Browse the repository at this point in the history
  • Loading branch information
tongsonbarbs authored Dec 2, 2024
1 parent 67fae4c commit 532fdce
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,14 @@ const columnHeadersView = (Base: ModuleType<ColumnHeadersView>) => class ColumnH
const $transparentColumnElement = that.getTransparentColumnElement();
if (columnElements && $transparentColumnElement && $transparentColumnElement.length) {
const transparentColumnIndex = getTransparentColumnIndex(that.getFixedColumns());
columnElements.splice(transparentColumnIndex, $transparentColumnElement.get(0).colSpan, $transparentColumnElement.get(0));
[].splice.apply(
columnElements,
[
transparentColumnIndex,
$transparentColumnElement.get(0)?.colSpan,
$transparentColumnElement.get(0) as never,
],
);
}

return columnElements;
Expand Down

0 comments on commit 532fdce

Please sign in to comment.