Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_scroll: Rename actively_scrolling() to is_actively_scrolling().
Anders Kaseorgb9acc5ee9a93
diff --git a/static/js/message_scroll.js b/static/js/message_scroll.jsindex 5251c99f99c..e09c086a58a 100644--- a/static/js/message_scroll.js+++ b/static/js/message_scroll.js@@ -110,7 +110,7 @@ exports.hide_top_of_narrow_notices = function () {exports.hide_history_limit_notice();};-exports.actively_scrolling = function () {+exports.is_actively_scrolling = function () {return actively_scrolling;};diff --git a/static/js/narrow.js b/static/js/narrow.jsindex 66b9637d0f2..d432cbeed8e 100644--- a/static/js/narrow.js+++ b/static/js/narrow.js@@ -787,7 +787,7 @@ exports.deactivate = function () {unnarrow_times = {start_time: new Date()};blueslip.debug("Unnarrowed");- if (message_scroll.actively_scrolling()) {+ if (message_scroll.is_actively_scrolling()) {// There is no way to intercept in-flight scroll events, and they will// cause you to end up in the wrong place if you are actively scrolling// on an unnarrow. Wait a bit and try again once the scrolling is over.