diff --git a/client/homebrew/editor/editor.jsx b/client/homebrew/editor/editor.jsx index 9ecacb48f..d557d40b4 100644 --- a/client/homebrew/editor/editor.jsx +++ b/client/homebrew/editor/editor.jsx @@ -195,7 +195,7 @@ const Editor = createClass({ let currentPage = 0; let currentPagePosition = 0; while (currentPagePosition < brewPosition && currentPage < pageCollection.length) { - currentPagePosition = currentPagePosition + pageCollection[currentPage].getBoundingClientRect().height; + currentPagePosition = currentPagePosition + pageCollection[currentPage].getBoundingClientRect().bottom; currentPage++; };