debudding PWA
This commit is contained in:
parent
b0a564e602
commit
b0d6e4f134
1 changed files with 1 additions and 0 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue