mirror of https://github.com/zulip/zulip.git
Fixed code comments
(imported from commit 75b0ad464bab2e9b0b24f7c6a484b9c99d8b5a7a)
This commit is contained in:
parent
59b84aad4a
commit
4b0cef8a83
|
@ -622,11 +622,13 @@ MessageList.prototype = {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this === current_msg_list) {
|
if (this === current_msg_list) {
|
||||||
// We don't have a Message class, but we can at least hide the messy details
|
// Update the fade.
|
||||||
// of rows.js from compose_fade. We provide a callback function to be lazy--
|
|
||||||
// compose_fade may not actually need the elements depending on its internal
|
|
||||||
// state.
|
|
||||||
var get_elements = function (message) {
|
var get_elements = function (message) {
|
||||||
|
// We don't have a Message class, but we can at least hide the messy details
|
||||||
|
// of rows.js from compose_fade. We provide a callback function to be lazy--
|
||||||
|
// compose_fade may not actually need the elements depending on its internal
|
||||||
|
// state.
|
||||||
var message_row = rows.get(message.id, table_name);
|
var message_row = rows.get(message.id, table_name);
|
||||||
var lst = [message_row];
|
var lst = [message_row];
|
||||||
if (message.include_recipient) {
|
if (message.include_recipient) {
|
||||||
|
|
Loading…
Reference in New Issue