From 7a0a87bf6c4143caa83149c2b137caf301d1bdc9 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 28 Feb 2017 16:38:51 +0100 Subject: [PATCH] Fix horizontal scrollbar in Edge --- customize.dist/main.js | 2 ++ www/login/main.js | 2 ++ www/register/main.js | 2 ++ 3 files changed, 6 insertions(+) diff --git a/customize.dist/main.js b/customize.dist/main.js index 4c6d37ae5..2f238bc41 100644 --- a/customize.dist/main.js +++ b/customize.dist/main.js @@ -15,6 +15,8 @@ define([ $(function () { var $main = $('#mainBlock'); + $('#noscriptContainer').hide(); + // Language selector var $sel = $('#language-selector'); Cryptpad.createLanguageSelector(undefined, $sel); diff --git a/www/login/main.js b/www/login/main.js index e18732671..1fb30dba5 100644 --- a/www/login/main.js +++ b/www/login/main.js @@ -13,6 +13,8 @@ define([ var $main = $('#mainBlock'); var Messages = Cryptpad.Messages; + $('#noscriptContainer').hide(); + // Language selector var $sel = $('#language-selector'); Cryptpad.createLanguageSelector(undefined, $sel); diff --git a/www/register/main.js b/www/register/main.js index e432830a8..8da6ed3e9 100644 --- a/www/register/main.js +++ b/www/register/main.js @@ -16,6 +16,8 @@ define([ $(function () { var $main = $('#mainBlock'); + $('#noscriptContainer').hide(); + // Language selector var $sel = $('#language-selector'); Cryptpad.createLanguageSelector(undefined, $sel);