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