From 1f6d7d938915d0b4b636d28fdcb61db1fa0e2fee Mon Sep 17 00:00:00 2001 From: Stacey Gammon Date: Mon, 28 Nov 2016 15:51:20 -0500 Subject: [PATCH] Fix match as well This chunk of logic only matched on =embed, not =embed=true, which is what the url given by sharing uses. --- src/ui/views/ui_app.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/views/ui_app.jade b/src/ui/views/ui_app.jade index d6e6189c6b412..262ea898933d2 100644 --- a/src/ui/views/ui_app.jade +++ b/src/ui/views/ui_app.jade @@ -123,7 +123,7 @@ 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('.kibanaWelcomeView'); loading.removeChild(loading.lastChild);