diff --git a/src/ui/Vipps.vue b/src/ui/Vipps.vue
index 5bd3e19..a2f8daf 100644
--- a/src/ui/Vipps.vue
+++ b/src/ui/Vipps.vue
@@ -5,11 +5,7 @@
kr.
{{ amount * 10 }},- (10,- pr. lodd)
-
+
977 40 427
Kasper Rynning-Tønnesen
@@ -52,8 +48,8 @@ export default {
let canvas = this.$refs["canvas"];
QRCode.toCanvas(
canvas,
- "https://qr.vipps.no/28/2/01/031/4797740427?v=1&m=Vinlotteri%20🍾&a=" +
- this.price,
+ "https://qr.vipps.no/28/2/01/031/4797740427?v=1&m=Vinlotteri%20🍾" /*&a=" +
+ this.price*/,
{ errorCorrectionLevel: "Q" },
(err, url) => {
if (err != null) {
@@ -62,27 +58,27 @@ export default {
}
);
- this.drawLogoOverCanvas(canvas)
+ this.drawLogoOverCanvas(canvas);
},
drawLogoOverCanvas(canvas) {
- const context = canvas.getContext("2d")
- const centerX = canvas.width / 2
- const centerY = canvas.height / 2
- context.font = "30px Arial"
- context.textAlign = "center"
- context.textBaseline = "middle"
- context.arc(centerX, centerY, 25, 0, 2 * Math.PI, false)
- context.fillStyle = 'white'
- context.fill()
- context.lineWidth = 3
- context.strokeStyle = '#fe5b23'
- context.stroke()
- context.fillText("🍾", centerX, centerY)
+ const context = canvas.getContext("2d");
+ const centerX = canvas.width / 2;
+ const centerY = canvas.height / 2;
+ context.font = "30px Arial";
+ context.textAlign = "center";
+ context.textBaseline = "middle";
+ context.arc(centerX, centerY, 25, 0, 2 * Math.PI, false);
+ context.fillStyle = "white";
+ context.fill();
+ context.lineWidth = 3;
+ context.strokeStyle = "#fe5b23";
+ context.stroke();
+ context.fillText("🍾", centerX, centerY);
},
openVipps: function() {
window.location.assign(
- "https://qr.vipps.no/28/2/01/031/4797740427?v=1&m=Vinlotteri%20🍾&a=" +
- this.price
+ "https://qr.vipps.no/28/2/01/031/4797740427?v=1&m=Vinlotteri%20🍾" /*&a=" +
+ this.price*/
);
}
}