summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e10798d)
We have the comment element, so let the browser do the work of fixing
our infinite loops.
const change = (comment) => {
elementsIndex = elements.indexOf(comment);
const change = (comment) => {
elementsIndex = elements.indexOf(comment);
- changeWithVisibleCallback(comment, () => {});
+ changeWithVisibleCallback(comment, () => {comment.scrollIntoView()});
}
// Curry callback for moving downpage
}
// Curry callback for moving downpage