mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 07:52:19 +00:00
Remove calls to update_floating_recipient_bar in compose_fade.js.
The calls to ui.update_floating_recipient_bar() were brought over from compose.js, and it turns out they just complicate scrolling, since we already call the function in the scroll handler. (imported from commit d3c28b17859cacd49b7db9f8784d4b8b9069e1ff)
This commit is contained in:
@@ -32,7 +32,6 @@ function _display_messages_normally() {
|
||||
.removeClass("faded").removeClass("unfaded");
|
||||
|
||||
normal_display = true;
|
||||
ui.update_floating_recipient_bar();
|
||||
}
|
||||
|
||||
function _fade_messages() {
|
||||
@@ -56,8 +55,6 @@ function _fade_messages() {
|
||||
elt.removeClass("faded").addClass("unfaded");
|
||||
}
|
||||
}
|
||||
|
||||
ui.update_floating_recipient_bar();
|
||||
}
|
||||
|
||||
function _want_normal_display() {
|
||||
@@ -128,8 +125,6 @@ exports.update_rendered_messages = function (messages, get_element) {
|
||||
elt.removeClass("faded").addClass("unfaded");
|
||||
}
|
||||
});
|
||||
|
||||
ui.update_floating_recipient_bar();
|
||||
};
|
||||
|
||||
return exports;
|
||||
|
||||
Reference in New Issue
Block a user