Skip to content

Commit

Permalink
Update lib/core/utils/dq-element.js
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoFiers authored Jun 14, 2021
1 parent ab5461b commit 1dcf1d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/utils/dq-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function DqElement(elm, options = {}, spec = {}) {
if (Array.isArray(this.spec.nodeIndexes)) {
this.nodeIndexes = this.spec.nodeIndexes;
} else if (typeof this._virtualNode?.nodeIndex === 'number') {
this.nodeIndexes = [this._virtualNode?.nodeIndex];
this.nodeIndexes = [this._virtualNode.nodeIndex];
}

/**
Expand Down

0 comments on commit 1dcf1d7

Please sign in to comment.