From 77d5f1e603b9068329630a227db7b011b8682aea Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Mon, 5 Feb 2018 13:28:38 -0800 Subject: [PATCH] fixed welcome page flicker --- app/pages/welcome.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/pages/welcome.js b/app/pages/welcome.js index 8f61ce2d..ab5df408 100644 --- a/app/pages/welcome.js +++ b/app/pages/welcome.js @@ -5,8 +5,10 @@ const fileList = require('../templates/fileList'); const { bytes, fadeOut } = require('../utils'); module.exports = function(state, emit) { + // the page flickers if both the server and browser set 'fadeIn' + const fade = state.layout ? '' : 'fadeIn'; const div = html` -
+
${state.translate('uploadPageHeader')}
${state.translate('uploadPageExplainer')}