diff --git a/customize.dist/pre-loading.js b/customize.dist/pre-loading.js index 3e7bc5b51..d5068759f 100644 --- a/customize.dist/pre-loading.js +++ b/customize.dist/pre-loading.js @@ -19,8 +19,10 @@ document.addEventListener('DOMContentLoaded', function() { document.body.appendChild(elem); // fallback if CSS animations not available setTimeout(() => { - document.querySelector('.placeholder-logo-container').style.opacity = 100; - document.querySelector('.placeholder-message-container').style.opacity = 100; + try { + document.querySelector('.placeholder-logo-container').style.opacity = 100; + document.querySelector('.placeholder-message-container').style.opacity = 100; + } catch (e) {} }, 3000); }); }());