mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 00:06:18 +00:00
Prevent install as an app prompt
This commit is contained in:
parent
c84531af35
commit
ccf956a63c
@ -39,6 +39,11 @@
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
window.addEventListener('beforeinstallprompt', e => {
|
||||
// Prevent invasive install prompt (users are still able to install as an app)
|
||||
e.preventDefault();
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user