debudding PWA

This commit is contained in:
Tobi 2024-04-09 10:45:37 +02:00
parent b0d6e4f134
commit 0099edf95c

View file

@ -162,11 +162,6 @@
});
}
// Show installation instructions only if accessed via browser
if (window.matchMedia('(display-mode: browser)').matches) {
document.getElementById('install-instructions').style.display = 'block';
}
// Hide installation instructions once installed as standalone PWA
window.addEventListener('beforeinstallprompt', (event) => {
event.preventDefault(); // Prevent default browser prompt