diff --git a/src/ui/views/ui_app.jade b/src/ui/views/ui_app.jade index bf4b82054ff3c..262ea898933d2 100644 --- a/src/ui/views/ui_app.jade +++ b/src/ui/views/ui_app.jade @@ -123,9 +123,9 @@ block content script. window.onload = function () { - var hideLoadingMessage = /#.*[?&]embed(&|$)/.test(window.location.href); + var hideLoadingMessage = /#.*[?&]embed(&|$|=true)/.test(window.location.href); if (hideLoadingMessage) { - var loading = document.querySelector('.ui-app-loading h1'); + var loading = document.querySelector('.kibanaWelcomeView'); loading.removeChild(loading.lastChild); }