🐛 Fix visibility of unformatted site during preload

Introduced by #3497
This commit is contained in:
Gina Häußge committed 2020-04-07 18:55:03 +02:00
1 parent f66421c1a8
commit 40a0913fa4
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -1,6 +1,9 @@
$(function() {
OctoPrint = window.OctoPrint;
// show page loading overlay (if enabled)
$("#page-container-loading").show();
//~~ Lodash setup
_.mixin({"sprintf": sprintf, "vsprintf": vsprintf});
+1 -1
View File
@@ -40,7 +40,7 @@
</noscript>
{% if enableLoadingAnimation %}
<div id="page-container-loading" data-bind="visible: loading">
<div id="page-container-loading" style="display: none" data-bind="visible: loading">
<div class="wrapper">
<div class="outer">
<div class="inner">