mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
Fixed broken setter on DOMRect
This commit is contained in:
parent
c1e92dcceb
commit
88537c7516
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@
|
|||
if (registration){
|
||||
const fakeDomRect = getFakeDomRect(window, this, prefs, registration.notify);
|
||||
registeredRects.delete(getWrapped(this));
|
||||
["x", "y", "width", "height"].forEach(function(prop){
|
||||
["x", "y", "width", "height"].forEach((prop) => {
|
||||
if (prop === property){
|
||||
this[prop] = newValue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue