mirror of
https://github.com/pretix/pretix.git
synced 2026-08-15 11:36:27 +00:00
fix eslint
This commit is contained in:
@@ -54,7 +54,7 @@ function lightboxLoaded () {
|
||||
}
|
||||
}
|
||||
|
||||
function errorContinue() {
|
||||
function errorContinue () {
|
||||
if (store.overlay.errorUrlAfterNewTab) {
|
||||
window.open(store.overlay.errorUrlAfter)
|
||||
} else {
|
||||
@@ -170,7 +170,7 @@ onUnmounted(() => {
|
||||
})
|
||||
|
||||
const vFocus = {
|
||||
mounted: (el) => el.focus()
|
||||
mounted: (el) => el.focus()
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -185,7 +185,7 @@ Teleport(to="body")
|
||||
strong {{ STRINGS.cancel_blocked }}
|
||||
.pretix-widget-frame-inner(v-show="store.overlay.frameShown")
|
||||
form.pretix-widget-frame-close(method="dialog")
|
||||
button(ref="closeButton", :aria-label="STRINGS.close_checkout", v-focus)
|
||||
button(ref="closeButton", v-focus, :aria-label="STRINGS.close_checkout")
|
||||
svg(:alt="STRINGS.close", height="16", viewBox="0 0 512 512", width="16", xmlns="http://www.w3.org/2000/svg")
|
||||
path(fill="#fff", d="M437.5,386.6L306.9,256l130.6-130.6c14.1-14.1,14.1-36.8,0-50.9c-14.1-14.1-36.8-14.1-50.9,0L256,205.1L125.4,74.5 c-14.1-14.1-36.8-14.1-50.9,0c-14.1,14.1-14.1,36.8,0,50.9L205.1,256L74.5,386.6c-14.1,14.1-14.1,36.8,0,50.9 c14.1,14.1,36.8,14.1,50.9,0L256,306.9l130.6,130.6c14.1,14.1,36.8,14.1,50.9,0C451.5,423.4,451.5,400.6,437.5,386.6z")
|
||||
iframe(
|
||||
@@ -218,7 +218,7 @@ Teleport(to="body")
|
||||
path.pretix-widget-primary-color(d="M1152 896q0-106-75-181t-181-75-181 75-75 181 75 181 181 75 181-75 75-181zm512-109v222q0 12-8 23t-20 13l-185 28q-19 54-39 91 35 50 107 138 10 12 10 25t-9 23q-27 37-99 108t-94 71q-12 0-26-9l-138-108q-44 23-91 38-16 136-29 186-7 28-36 28h-222q-14 0-24.5-8.5t-11.5-21.5l-28-184q-49-16-90-37l-141 107q-10 9-25 9-14 0-25-11-126-114-165-168-7-10-7-23 0-12 8-23 15-21 51-66.5t54-70.5q-27-50-41-99l-183-27q-13-2-21-12.5t-8-23.5v-222q0-12 8-23t19-13l186-28q14-46 39-92-40-57-107-138-10-12-10-24 0-10 9-23 26-36 98.5-107.5t94.5-71.5q13 0 26 10l138 107q44-23 91-38 16-136 29-186 7-28 36-28h222q14 0 24.5 8.5t11.5 21.5l28 184q49 16 90 37l142-107q9-9 24-9 13 0 25 10 129 119 165 170 7 8 7 22 0 12-8 23-15 21-51 66.5t-54 70.5q26 50 41 98l183 28q13 2 21 12.5t8 23.5z")
|
||||
.pretix-widget-lightbox-inner(v-if="store.overlay.lightbox")
|
||||
form.pretix-widget-lightbox-close(method="dialog")
|
||||
button(:aria-label="STRINGS.close", v-focus)
|
||||
button(v-focus, :aria-label="STRINGS.close")
|
||||
svg(:alt="STRINGS.close", height="16", viewBox="0 0 512 512", width="16", xmlns="http://www.w3.org/2000/svg")
|
||||
path(fill="#fff", d="M437.5,386.6L306.9,256l130.6-130.6c14.1-14.1,14.1-36.8,0-50.9c-14.1-14.1-36.8-14.1-50.9,0L256,205.1L125.4,74.5 c-14.1-14.1-36.8-14.1-50.9,0c-14.1,14.1-14.1,36.8,0,50.9L205.1,256L74.5,386.6c-14.1,14.1-14.1,36.8,0,50.9 c14.1,14.1,36.8,14.1,50.9,0L256,306.9l130.6,130.6c14.1,14.1,36.8,14.1,50.9,0C451.5,423.4,451.5,400.6,437.5,386.6z")
|
||||
figure.pretix-widget-lightbox-image
|
||||
|
||||
Reference in New Issue
Block a user