mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
Move keep_pointer_in_view to pointer.js.
This commit is contained in:
@@ -509,7 +509,7 @@ function scroll_finished() {
|
||||
|
||||
if ($('#home').hasClass('active')) {
|
||||
if (!pointer.suppress_scroll_pointer_update) {
|
||||
keep_pointer_in_view();
|
||||
pointer.keep_pointer_in_view();
|
||||
} else {
|
||||
pointer.suppress_scroll_pointer_update = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user