Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_viewport: Remove unused parameter from `in_view` function.
Lalit82841a7b5f1c
diff --git a/web/src/message_viewport.js b/web/src/message_viewport.jsindex cb822986c78..2e547633ffa 100644--- a/web/src/message_viewport.js+++ b/web/src/message_viewport.js@@ -461,10 +461,10 @@ export function keep_pointer_in_view() {function adjust(in_view, get_next_row) {// return true only if we make an actual adjustment, so// that we know to short circuit the other direction- if (in_view($next_row)) {+ if (in_view()) {return false; // try other side}- while (!in_view($next_row)) {+ while (!in_view()) {$candidate = get_next_row($next_row);if ($candidate.length === 0) {break;