mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
static: Move click handlers for alert-box to a separate module.
ui_init is also modified to ensure that the click handlers will still be correctly initialized.
This commit is contained in:
@@ -8,6 +8,7 @@ import * as fenced_code from "../shared/js/fenced_code";
|
||||
import render_edit_content_button from "../templates/edit_content_button.hbs";
|
||||
|
||||
import * as activity from "./activity";
|
||||
import * as alert_popup from "./alert_popup";
|
||||
import * as alert_words from "./alert_words";
|
||||
import * as blueslip from "./blueslip";
|
||||
import * as bot_data from "./bot_data";
|
||||
@@ -473,6 +474,7 @@ export function initialize_everything() {
|
||||
|
||||
const user_status_params = pop_fields("user_status");
|
||||
|
||||
alert_popup.initialize();
|
||||
alert_words.initialize(alert_words_params);
|
||||
emojisets.initialize();
|
||||
people.initialize(page_params.user_id, people_params);
|
||||
|
||||
Reference in New Issue
Block a user