mirror of https://github.com/zulip/zulip.git
f2806a0a06
When we tried to copy/paste multiple rows up to and including the last row in our view, we'd have a blueslip error when the `for` loop checked the condition `rows.id(row) <= ...` after we had called `row = rows.next_visible(row)` on the last row. Basically, `rows.id()` would complain about a non-existent row. Now we extract that code into `visible_range`, so that our `while` loop can exit as soon as we found the last row in the range. |
||
---|---|---|
.. | ||
assets | ||
audio | ||
generated | ||
html | ||
images | ||
js | ||
shared | ||
styles | ||
templates | ||
third | ||
.eslintrc.json | ||
.gitignore | ||
favicon.ico |