mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-30 23:38:47 +01:00
Fixed broken setter on DOMRect
This commit is contained in:
parent
c1e92dcceb
commit
88537c7516
@ -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…
x
Reference in New Issue
Block a user