From a1eb6eede5750493c77bed3fa49c0456199f9a4b Mon Sep 17 00:00:00 2001 From: canewsin Date: Sun, 28 Nov 2021 01:23:52 +0530 Subject: [PATCH] Fix Incorrect viewport on mobile while loading https://github.com/HelloZeroNet/ZeroNet/issues/2474 --- src/Ui/UiRequest.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Ui/UiRequest.py b/src/Ui/UiRequest.py index 8f00efcb..dbd3ca67 100644 --- a/src/Ui/UiRequest.py +++ b/src/Ui/UiRequest.py @@ -540,7 +540,10 @@ class UiRequest(object): if show_loadingscreen is None: show_loadingscreen = not site.storage.isFile(file_inner_path) - + + if show_loadingscreen: + meta_tags += ''; + return self.render( "src/Ui/template/wrapper.html", server_url=server_url,