Closed velocityzen closed 11 years ago
When you try to calc offset for node in iframe, offset function still adds scrollTop and scrollLeft from top window. This fixes it for position relative to iframe document.
this is a very strange diff. would you mind keeping your changes to just src/bonzo.js. and then verify that the tests still pass?
src/bonzo.js
I'm closing this. And make a new one.
When you try to calc offset for node in iframe, offset function still adds scrollTop and scrollLeft from top window. This fixes it for position relative to iframe document.