Files
pretix_original/src/pretix/static/pretixbase/js/framebreak.js
T
Raphael MichelandKara Engelhardt d85e52c83e ESlint: Ignore vendored and pre-vue code (#6541)
* ESlint: Ignore vendored and pre-vue code

* Format pre-vue code with eslint where possible

---------

Co-authored-by: Kara Engelhardt <engelhardt@pretix.eu>
2026-09-10 12:35:10 +02:00

4 lines
198 B
JavaScript

// Attempt to auto-open page in new tab. Will be ignored by most browser's popup blockers anyways, though.
let url = JSON.parse(document.getElementById('framebreak-url').innerText)
window.open(url)