Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove caching message if app is embedded #3121

Merged
merged 2 commits into from
Feb 23, 2015

Conversation

lukasolson
Copy link
Member

Closes #3109.

@@ -18,7 +18,9 @@
<img width="128" src="images/initial_load.gif">
<h1>
<strong>Kibana</strong>
<small>is loading. Give me a moment here. I'm loading a whole bunch of code. Don't worry, all this good stuff will be cached up for next time!</small>
<script>
if (location.href.indexOf('?embed') < 0) document.write('<small>is loading. Give me a moment here. I\'m loading a whole bunch of code. Don\'t worry, all this good stuff will be cached up for next time!</small>');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change this to use css manipulation rather than document.write()? Maybe el.style.display = 'block'.

Also, I think we should allow embed to match even if it's not the first query string param.

@rashidkpc rashidkpc assigned lukasolson and unassigned rashidkpc Feb 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tidy embedded views
3 participants