From c23c5d4a8f2c0d569cef499923aa4b6526f44f97 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Fri, 10 Nov 2017 21:29:05 +0100 Subject: [PATCH 1/1] remove debug statements as it works now --- js/loginwindow.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/loginwindow.js b/js/loginwindow.js index cd8d765..94cd6c2 100644 --- a/js/loginwindow.js +++ b/js/loginwindow.js @@ -1,19 +1,14 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ -console.log("JS-load"); window.onload = function() { // Complete the login process by calling the main window. - console.log("onload"); if (window.opener) { - console.log("opener"); window.opener.finishLogin(getParameterByName("code"), getParameterByName("state")); - console.log("finished"); window.close(); } else { - console.log("no-opener"); document.getElementById("logininfo").textContent = "You have called this document outside of the login flow, which is not supported."; } } -- 2.35.3