mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 16:01:58 +00:00
bundles: Remove unnecessary imports of effect-free modules.
Some of these may have once been necessary to enforce an ordering on cyclic imports, but we’ve fixed all of those now. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
384e28c8e2
commit
2c799125ea
@@ -8,7 +8,11 @@ import * as message_store from "./message_store";
|
||||
import * as narrow from "./narrow";
|
||||
import * as stream_data from "./stream_data";
|
||||
|
||||
if (window.electron_bridge !== undefined) {
|
||||
export function initialize() {
|
||||
if (window.electron_bridge === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
window.electron_bridge.on_event("logout", () => {
|
||||
$("#logout_form").trigger("submit");
|
||||
});
|
||||
@@ -64,12 +68,6 @@ if (window.electron_bridge !== undefined) {
|
||||
error,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
export function initialize() {
|
||||
if (window.electron_bridge === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
$(document).on("click", "#open-self-hosted-billing", (event) => {
|
||||
event.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user