zulip/static/js/zulip.js

19 lines
546 B
JavaScript

// This file is being eliminated as part of the general purge of
// global variables from Zulip (everything is being moved into
// modules). Please don't add things here.
var home_msg_list = new message_list.MessageList('zhome',
new Filter([{operator: "in", operand: "home"}]), {muting_enabled: true}
);
var current_msg_list = home_msg_list;
if (typeof module !== 'undefined') {
module.exports.current_msg_list = current_msg_list;
}
$(function () {
if (page_params.night_mode) {
$("body").addClass("dark-mode");
}
});