Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix match as well
Browse files Browse the repository at this point in the history
This chunk of logic only matched on =embed, not =embed=true, which is
what the url given by sharing uses.
stacey-gammon committed Nov 28, 2016
1 parent a5d4aaa commit 1f6d7d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/views/ui_app.jade
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 1f6d7d9

Please sign in to comment.