remove debug code
This commit is contained in:
parent
8af3f1b6e4
commit
8555e9e4c1
|
@ -13,7 +13,6 @@ export function getRectFromEntry(entry) {
|
||||||
boundingRect.bottom !== observerRect.bottom ||
|
boundingRect.bottom !== observerRect.bottom ||
|
||||||
boundingRect.left !== observerRect.left ||
|
boundingRect.left !== observerRect.left ||
|
||||||
boundingRect.right !== observerRect.right;
|
boundingRect.right !== observerRect.right;
|
||||||
alert(hasBoundingRectBug)
|
|
||||||
}
|
}
|
||||||
return hasBoundingRectBug ? entry.target.getBoundingClientRect() : entry.boundingClientRect;
|
return hasBoundingRectBug ? entry.target.getBoundingClientRect() : entry.boundingClientRect;
|
||||||
}
|
}
|
Loading…
Reference in a new issue