From a6eb1444df897e499d575a77cf745df67009a392 Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 7 Sep 2017 16:39:42 +0200 Subject: [PATCH] add loading screen markup to register and login --- customize.dist/pages.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/customize.dist/pages.js b/customize.dist/pages.js index b26e036d0..ff5be71a6 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -437,7 +437,7 @@ define([ ]; }; - var loadingScreen = function () { + var loadingScreen = Pages.loadingScreen = function () { return h('div#loading', h('div.loadingContainer', [ h('img.cryptofist', { @@ -450,6 +450,12 @@ define([ ); }; + var hiddenLoader = function () { + var loader = loadingScreen(); + loader.style.display = 'none'; + return loader; + }; + Pages['/user/'] = Pages['/user/index.html'] = function () { return h('div#container'); }; @@ -525,6 +531,7 @@ define([ ]), infopageFooter(), + hiddenLoader(), ])]; }; @@ -558,6 +565,7 @@ define([ ]), ]), infopageFooter(), + hiddenLoader(), ])]; };