mirror of https://github.com/zulip/zulip.git
0f75be3e8e
There's a subtle change here in how we handle the hypothetical case that the selected message is above the top of the feed. Instead of early-exiting from _maybe_autoscroll(), we just treat the limit as zero, which will have the same effect. We also change a var name be just `scroll_limit` instead of `available_space_for_scroll`. A longer name would be valuable if it were somehow more specific, but it was needlessly verbose. |
||
---|---|---|
.. | ||
assets | ||
audio | ||
generated | ||
html | ||
icons/fonts | ||
images | ||
js | ||
locale | ||
styles | ||
templates | ||
third | ||
ts | ||
.gitignore | ||
favicon.ico | ||
node_modules |