make login on authorize actually work and redirect back to the authorize form after...
[authserver.git] / authsystem.js
CommitLineData
d26d08a1
RK
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5window.onload = function() {
409b55f4
RK
6 var jsWarning = document.getElementById("jswarning");
7 if (jsWarning) {
8 document.getElementById("jswarning").classList.add("hidden");
9 }
d26d08a1
RK
10 var loginForm = document.getElementById("loginform");
11 if (loginForm) {
12 loginForm.classList.remove("hidden");
13 }
14}