mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-03 10:31:54 +01:00
Fixed broken setter on DOMRect
This commit is contained in:
parent
c1e92dcceb
commit
88537c7516
@ -195,7 +195,7 @@
|
|||||||
if (registration){
|
if (registration){
|
||||||
const fakeDomRect = getFakeDomRect(window, this, prefs, registration.notify);
|
const fakeDomRect = getFakeDomRect(window, this, prefs, registration.notify);
|
||||||
registeredRects.delete(getWrapped(this));
|
registeredRects.delete(getWrapped(this));
|
||||||
["x", "y", "width", "height"].forEach(function(prop){
|
["x", "y", "width", "height"].forEach((prop) => {
|
||||||
if (prop === property){
|
if (prop === property){
|
||||||
this[prop] = newValue;
|
this[prop] = newValue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user