Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

js: Convert static/js/portico/desktop-login.js to ES6 module.

Anders Kaseorg1bfc22e4a1c7
diff --git a/static/js/portico/desktop-login.js b/static/js/portico/desktop-login.js
index a676733253f..6ebd3fa8937 100644
--- a/static/js/portico/desktop-login.js
+++ b/static/js/portico/desktop-login.js
@@ -1,5 +1,3 @@
-"use strict";
-
document.querySelector("#form").addEventListener("submit", () => {
document.querySelector("#bad-token").hidden = false;
});
@@ -58,3 +56,4 @@ async function decrypt_manual() {
document.querySelector("#done").hidden = false;
window.location.href = "/accounts/login/subdomain/" + encodeURIComponent(token);
})();
+export {};