debudding PWA

This commit is contained in:
Tobi 2024-04-09 10:42:43 +02:00
parent b0a564e602
commit b0d6e4f134

View file

@ -169,6 +169,7 @@
// Hide installation instructions once installed as standalone PWA // Hide installation instructions once installed as standalone PWA
window.addEventListener('beforeinstallprompt', (event) => { window.addEventListener('beforeinstallprompt', (event) => {
event.preventDefault(); // Prevent default browser prompt
document.getElementById('install-instructions').style.display = 'none'; document.getElementById('install-instructions').style.display = 'none';
}); });
</script> </script>