Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_viewport: Fix implicit use of any.
Anders Kaseorg89af74f42092
diff --git a/web/src/message_viewport.ts b/web/src/message_viewport.tsindex 52b7861c661..9ae5bdc26d5 100644--- a/web/src/message_viewport.ts+++ b/web/src/message_viewport.ts@@ -77,7 +77,7 @@ export function message_viewport_info(): MessageViewportInfo {// the server are not considered.export function at_rendered_bottom(): boolean {const bottom = scrollTop() + height();- const full_height = $scroll_container.prop("scrollHeight");+ const full_height = $scroll_container[0].scrollHeight;// We only know within a pixel or two if we're// exactly at the bottom, due to browser quirkiness,