mirror of https://github.com/zulip/zulip.git
js: Convert static/js/portico/header.js to ES6 module.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
96fc397716
commit
1adc0da0bd
|
@ -1,5 +1,3 @@
|
||||||
"use strict";
|
|
||||||
|
|
||||||
$(() => {
|
$(() => {
|
||||||
$(".portico-header li.logout").on("click", () => {
|
$(".portico-header li.logout").on("click", () => {
|
||||||
$("#logout_form").trigger("submit");
|
$("#logout_form").trigger("submit");
|
||||||
|
@ -19,3 +17,4 @@ $(() => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
export {};
|
||||||
|
|
Loading…
Reference in New Issue