Skip to content

Commit

Permalink
app: fix setting scrollTop
Browse files Browse the repository at this point in the history
  • Loading branch information
evanlucas committed Apr 1, 2016
1 parent 945ef73 commit 49f1410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function App(el, currentWindow) {
// if (ele.scrollHeight - ele.clientHeight <= ele.scrollTop + 1) {
// ele.scrollTop = ele.scrollHeight
// }
ele.scrollTop = 0
ele.scrollTop = ele.scrollHeight
}
} else if (this.activeModel instanceof Settings) {
const ele = document.querySelector('.settings-container')
Expand Down

0 comments on commit 49f1410

Please sign in to comment.