summaryrefslogtreecommitdiff
path: root/src/InstallNotification.vue
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-06-03 10:14:13 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-12-13 17:09:14 +0100
commit6e6b9ce1f58eb43e78c02672de3be73ffe616176 (patch)
tree08fb74aeca3c1111f8544df0b704a25d67a1a760 /src/InstallNotification.vue
parent428e10e3b38663c29e485df93cda98c9bc9b987b (diff)
downloadbrokentalents-6e6b9ce1f58eb43e78c02672de3be73ffe616176.tar.gz
brokentalents-6e6b9ce1f58eb43e78c02672de3be73ffe616176.zip
Install prompt: prevent default
Diffstat (limited to 'src/InstallNotification.vue')
-rw-r--r--src/InstallNotification.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/InstallNotification.vue b/src/InstallNotification.vue
index b1a0349..22e7a8c 100644
--- a/src/InstallNotification.vue
+++ b/src/InstallNotification.vue
@@ -29,6 +29,7 @@ export default Vue.component('install-notification', {
},
methods: {
promptInstall: function(p) {
+ p.preventDefault();
this.deferredPrompt = p;
},
},