hide reload msg in background

This commit is contained in:
Laura Klünder 2017-12-24 05:05:58 +01:00
parent aa638a5f7f
commit 482a89680b
3 changed files with 3 additions and 3 deletions

View file

@ -784,7 +784,7 @@ main:not([data-view=route-result]) #route-summary {
body:not(.mobileclient) .share-ui p { body:not(.mobileclient) .share-ui p {
display: none; display: none;
} }
main > .share-ui { main > .share-ui, #reload-msg {
display: none; display: none;
} }

View file

@ -1221,7 +1221,7 @@ c3nav = {
width: 'auto', width: 'auto',
minHeight: 0 minHeight: 0
}); });
c3nav.open_modal($('.reload-msg').html(), true); c3nav.open_modal($('#reload-msg').html(), true);
window.location.reload(); window.location.reload();
}, },
_set_user_data: function (data) { _set_user_data: function (data) {

View file

@ -44,7 +44,7 @@
<a class="button" href="https://play.google.com/store/apps/details?id=de.c3nav.droid" target="_blank">Google Play</a> <a class="button" href="https://play.google.com/store/apps/details?id=de.c3nav.droid" target="_blank">Google Play</a>
</p> </p>
</section> </section>
<section class="reload-msg"> <section id="reload-msg">
<img src="{% static 'img/loader.gif' %}"> <img src="{% static 'img/loader.gif' %}">
</section> </section>
<section id="sidebar"> <section id="sidebar">