mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
tidy up
This commit is contained in:
parent
f5cfb8b135
commit
62906d72a2
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ Scroll.prototype.scrollNodeVerticallyIntoView = function (rep, innerHeight) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
const outer = window.parent;
|
const outer = window.parent;
|
||||||
// scroll to the very end of the pad outer
|
// scroll to the very end of the pad outer
|
||||||
outer.scrollTo(0, outer[0].innerHeight);
|
outer.scrollTo(0, outer[0].innerHeight);
|
||||||
}, 150);
|
}, 150);
|
||||||
// if the above setTimeout and functionality is removed then hitting an enter
|
// if the above setTimeout and functionality is removed then hitting an enter
|
||||||
// key while on the last line wont be an optimal user experience
|
// key while on the last line wont be an optimal user experience
|
||||||
|
|
Loading…
Reference in a new issue