From 6e6b9ce1f58eb43e78c02672de3be73ffe616176 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sun, 3 Jun 2018 10:14:13 +0200 Subject: Install prompt: prevent default --- src/InstallNotification.vue | 1 + 1 file changed, 1 insertion(+) (limited to 'src/InstallNotification.vue') 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; }, }, -- cgit v1.3.1