Use property instead of non-existent method in OverlayManager

This commit is contained in:
Nathan Sobo
2015-02-11 23:04:49 -07:00
parent 54fcaa6132
commit 4f5b989cbb

View File

@@ -34,7 +34,7 @@ class OverlayManager
left -= itemWidth
top = pixelPosition.top + presenter.lineHeight
if top + itemHeight - scrollTop > presenter.computeHeight() and top - itemHeight - presenter.lineHeight >= scrollTop
if top + itemHeight - scrollTop > presenter.height and top - itemHeight - presenter.lineHeight >= scrollTop
top -= itemHeight + presenter.lineHeight
overlayNode.style.top = top + 'px'