diff --git a/snippets/shx-loading-screen.liquid b/snippets/shx-loading-screen.liquid index 7d2573d..602cad0 100644 --- a/snippets/shx-loading-screen.liquid +++ b/snippets/shx-loading-screen.liquid @@ -77,7 +77,12 @@ showLoadingScreen(); }); + window.addEventListener("DOMContentLoaded", function() { + console.log("DOMContentLoaded") + }) + window.addEventListener("load", function() { + console.log("load") hideLoadingScreen(); });