mirror of https://github.com/zulip/zulip.git
Introduce compose_fade.initialize().
This commit is contained in:
parent
ccc2451b93
commit
4d6ca1ab70
|
@ -256,14 +256,14 @@ exports.update_rendered_message_groups = function (message_groups, get_element)
|
|||
});
|
||||
};
|
||||
|
||||
$(function () {
|
||||
exports.initialize = function () {
|
||||
$(document).on('peer_subscribe.zulip', function () {
|
||||
exports.update_faded_users();
|
||||
});
|
||||
$(document).on('peer_unsubscribe.zulip', function () {
|
||||
exports.update_faded_users();
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
return exports;
|
||||
|
|
|
@ -255,6 +255,7 @@ $(function () {
|
|||
activity.initialize();
|
||||
emoji.initialize();
|
||||
hotspots.initialize();
|
||||
compose_fade.initialize();
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue