From 9b4fbb0ca04f27033d266cc3733cb4d0848bb505 Mon Sep 17 00:00:00 2001 From: Michael Kuron Date: Sat, 16 Sep 2017 17:49:14 +0200 Subject: [PATCH] More client config guide fixes --- docs/client-thunderbird.md | 2 +- docs/clients.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/client-thunderbird.md b/docs/client-thunderbird.md index 819f3b46d..a15d65c17 100644 --- a/docs/client-thunderbird.md +++ b/docs/client-thunderbird.md @@ -24,7 +24,7 @@ Close the account settings window with the OK button.
  • - In your web browser, download SOGo Integrator. + In your web browser, download SOGo IntegratorSOGo Integrator.
  • Back in Thunderbird, go to the Tools menu and select Add-ons. diff --git a/docs/clients.js b/docs/clients.js index 14edc587e..149ef2795 100644 --- a/docs/clients.js +++ b/docs/clients.js @@ -1,5 +1,5 @@ if (window.location.href.indexOf('/client/') >= 0) { - window.onload = function () { + window.window.addEventListener('load', function () { function getParameterByName(name) { var match = RegExp('[?#&]' + name + '=([^&]*)').exec(window.location.hash); return match && decodeURIComponent(match[1].replace(/\+/g, ' ')); @@ -26,11 +26,11 @@ if (window.location.href.indexOf('/client/') >= 0) { if (getParameterByName('outlookEAS')) { document.cookie = "outlookEAS=" + getParameterByName('outlookEAS') + "; path=/"; } - } + }); } if (window.location.href.indexOf('/client') >= 0) { - window.onload = function () { + window.window.addEventListener('load', function () { function getCookie(cn) { var cs = document.cookie.split(';'); for (var i = 0; i < cs.length; i++) { @@ -108,5 +108,5 @@ if (window.location.href.indexOf('/client') >= 0) { el.style.display = 'none'; }); } - } + }); }