Vipps should only be clickable on mobile.

This commit is contained in:
2020-01-29 09:27:05 +01:00
parent 6a12566e1f
commit 62b38266d3

View File

@@ -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 {