user_profile: Move init call to ui_init.

This commit is contained in:
Aman Agrawal
2023-09-29 08:25:25 +00:00
committed by Tim Abbott
parent bdd991dc67
commit d574129a29
3 changed files with 3 additions and 4 deletions

View File

@@ -42,7 +42,6 @@ import * as stream_popover from "./stream_popover";
import * as topic_list from "./topic_list";
import * as ui_util from "./ui_util";
import {parse_html} from "./ui_util";
import * as user_profile from "./user_profile";
import * as user_topics from "./user_topics";
import * as util from "./util";
@@ -639,8 +638,6 @@ export function initialize() {
});
}
user_profile.register_click_handlers();
$("body").on("click", ".logout_button", () => {
$("#logout_form").trigger("submit");
});