remove debug code

This commit is contained in:
Nolan Lawson 2018-01-23 17:26:11 -08:00
parent 8af3f1b6e4
commit 8555e9e4c1

View file

@ -13,7 +13,6 @@ export function getRectFromEntry(entry) {
boundingRect.bottom !== observerRect.bottom ||
boundingRect.left !== observerRect.left ||
boundingRect.right !== observerRect.right;
alert(hasBoundingRectBug)
}
return hasBoundingRectBug ? entry.target.getBoundingClientRect() : entry.boundingClientRect;
}