js: Use jQuery as a module.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-03-10 20:43:45 -08:00
parent ac36d59728
commit ea9ca6b7d0
211 changed files with 426 additions and 128 deletions

View File

@@ -1,3 +1,5 @@
import $ from "jquery";
$(() => {
$(".portico-header li.logout").on("click", () => {
$("#logout_form").trigger("submit");
@@ -17,4 +19,3 @@ $(() => {
}
});
});
export {};