From 59f409b1c6d35f7e597612ffea8acb6886781676 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 30 Jan 2023 17:07:27 +0100 Subject: [PATCH] Widget: Add missing "var" statement --- src/pretix/static/pretixpresale/js/widget/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/static/pretixpresale/js/widget/widget.js b/src/pretix/static/pretixpresale/js/widget/widget.js index 7c3d1fc2e..64ba2f411 100644 --- a/src/pretix/static/pretixpresale/js/widget/widget.js +++ b/src/pretix/static/pretixpresale/js/widget/widget.js @@ -1384,7 +1384,7 @@ Vue.component('pretix-widget', { }, computed: { classObject: function () { - o = {'pretix-widget': true}; + var o = {'pretix-widget': true}; if (this.mobile) { o['pretix-widget-mobile'] = true; }