mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
demo-orgs: Update event listeners that open convert org modal.
This commit is contained in:
committed by
Tim Abbott
parent
d7afd6af42
commit
43b13c938b
@@ -108,7 +108,9 @@ export function do_convert_demo_organization(): void {
|
||||
}
|
||||
|
||||
export function handle_demo_organization_conversion(): void {
|
||||
$(".convert-demo-organization-button").on("click", () => {
|
||||
$(".convert-demo-organization-button").on("click", (e) => {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
do_convert_demo_organization();
|
||||
});
|
||||
|
||||
|
||||
@@ -503,7 +503,9 @@ export function initialize(): void {
|
||||
}, 2000);
|
||||
});
|
||||
|
||||
$("#navbar_alerts_wrapper").on("click", ".convert-demo-organization", () => {
|
||||
$("#navbar_alerts_wrapper").on("click", ".convert-demo-organization", (e) => {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
demo_organizations_ui.do_convert_demo_organization();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user