mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 03:23:50 +00:00
js: Automatically convert var to let and const in most files.
This commit was originally automatically generated using `tools/lint --only=eslint --fix`. It was then modified by tabbott to contain only changes to a set of files that are unlikely to result in significant merge conflicts with any open pull request, excluding about 20 files. His plan is to merge the remaining changes with more precise care, potentially involving merging parts of conflicting pull requests before running the `eslint --fix` operation. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
f7245e9ec6
commit
28f3dfa284
@@ -12,7 +12,7 @@ function add_messages(messages, msg_list, opts) {
|
||||
loading.destroy_indicator($('#page_loading_indicator'));
|
||||
$('#first_run_message').remove();
|
||||
|
||||
var render_info = msg_list.add_messages(messages, opts);
|
||||
const render_info = msg_list.add_messages(messages, opts);
|
||||
|
||||
return render_info;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user