js: Convert static/js/portico/header.js to ES6 module.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2021-02-10 08:11:06 -08:00 committed by Tim Abbott
parent 96fc397716
commit 1adc0da0bd
1 changed files with 1 additions and 2 deletions

View File

@ -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 {};