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:
Steve Howell
2013-08-14 11:26:53 -04:00
parent 3f6a0cb909
commit d66ac9f36c

View File

@@ -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;