Skip to content

Commit

Permalink
security
Browse files Browse the repository at this point in the history
  • Loading branch information
sacr3dc0w committed Jul 19, 2024
1 parent 8090f58 commit 5c2f64e
Show file tree
Hide file tree
Showing 3 changed files with 5,978 additions and 8,662 deletions.
3 changes: 1 addition & 2 deletions jest.setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ window.Element.prototype.getClientRects = function () {
}
node = node.parentNode;
}
var self = $(this);
return [{ width: self.width(), height: self.height() }];
return [{ width: this.offsetWidth, height: this.offsetHeight }];
};
Loading

0 comments on commit 5c2f64e

Please sign in to comment.