diff --git a/customize.dist/pre-loading.js b/customize.dist/pre-loading.js index 3e7bc5b51..bc0744e2e 100644 --- a/customize.dist/pre-loading.js +++ b/customize.dist/pre-loading.js @@ -19,8 +19,12 @@ 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 (err) { + console.error(err); + } }, 3000); }); }());