Skip to content

Commit

Permalink
Update packages/rrweb/src/utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite authored Oct 13, 2023
1 parent 4d540ef commit 60f42d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rrweb/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export function getWindowWidth(): number {
* @returns HTMLElement or null
*/

export function getElementFromNode(node: Node | null): HTMLElement | null {
export function closestElementOfNode(node: Node | null): HTMLElement | null {
if (!node) {
return null;
}
Expand Down

0 comments on commit 60f42d4

Please sign in to comment.