master
Aevann1 2021-09-28 22:05:54 +02:00
parent adcb1be249
commit 93dac33d0d
1 changed files with 17 additions and 23 deletions

View File

@ -144,19 +144,14 @@
.then(() => beamsClient.getDeviceInterests())
.catch(console.error);
</script>
<div id="mobile-prompt-container" class="fixed-bottom">
<div id="mobile-prompt" href="javascript:void(0)" data-bs-toggle="tooltip" data-bs-container="#mobile-prompt-container" data-bs-placement="top" data-bs-trigger="click" title="Install the {{'SITE_NAME' | app_config}} webapp by saving this page to your home screen!"></div>
</div>
{% endif %}
<!-- {% if request.path=='/' and g.system and g.timestamp > session.get('tooltip_last_dismissed',0)+60*60*24 and (not g.system.endswith('/chrome') and not g.system.endswith('/other')) and not g.system.endswith('/webview') %} -->
<div id="mobile-prompt-container" class="fixed-bottom">
<div id="mobile-prompt-container" class="fixed-bottom">
<div id="mobile-prompt" href="javascript:void(0)" data-bs-toggle="tooltip" data-bs-container="#mobile-prompt-container" data-bs-placement="top" data-bs-trigger="click" title="Install the {{'SITE_NAME' | app_config}} webapp by saving this page to your home screen!"></div>
</div>
</div>
<script>
<script>
if (!("standalone" in window.navigator) && window.navigator.standalone) {
// if (window.innerWidth <= 737) {
document.getElementById('mobile-prompt').show()
@ -169,7 +164,6 @@
}
// }
}
</script>
<!-- {% endif %} -->
</script>
{% endblock %}