dont show annoying popup to PWA users
parent
9668c6729f
commit
29452e2e6e
|
@ -193,7 +193,7 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
if (!("standalone" in window.navigator) && !(window.navigator.standalone)) {
|
||||
if (!window.matchMedia('(display-mode: minimal-ui)')['matches']) {
|
||||
if (window.innerWidth <= 737) {
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const tt = bootstrap.Tooltip.getOrCreateInstance(document.getElementById('mobile-prompt'))
|
||||
|
|
Loading…
Reference in New Issue