From 62b38266d3b8d3c19a4c40d7609bd687b426197d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Midb=C3=B8e?= Date: Wed, 29 Jan 2020 09:27:05 +0100 Subject: [PATCH] Vipps should only be clickable on mobile. --- src/ui/Vipps.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ui/Vipps.vue b/src/ui/Vipps.vue index 0a1d151..c086e1a 100644 --- a/src/ui/Vipps.vue +++ b/src/ui/Vipps.vue @@ -85,7 +85,9 @@ export default { context.fillText("🍾", centerX, centerY); }, openVipps: function() { - window.location.assign(this.vippsUrlBasedOnUserAgent); + if (window.innerWidth <= 768) { + window.location.assign(this.vippsUrlBasedOnUserAgent); + } } } }; @@ -108,7 +110,6 @@ export default { padding: 25px; width: 250px; margin: auto 0; - cursor: pointer; } .big-money {