From 6a12566e1f88f06571c6d973b027f3736ab2317d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Tue, 28 Jan 2020 17:17:15 +0100 Subject: [PATCH 1/2] Non lazy --- src/routes/vinlottisRouter.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/vinlottisRouter.js b/src/routes/vinlottisRouter.js index ded4905..4e8d997 100644 --- a/src/routes/vinlottisRouter.js +++ b/src/routes/vinlottisRouter.js @@ -1,4 +1,5 @@ import VinlottisPage from "@/components/VinlottisPage"; +import GeneratePage from "@/components/GeneratePage"; const routes = [ { @@ -7,7 +8,7 @@ const routes = [ }, { path: "/generate", - component: resolve => require(["@/components/GeneratePage"], resolve) + component: GeneratePage }, { path: "/login", 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 2/2] 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 {