mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Fix links in item descriptions
This commit is contained in:
@@ -5,7 +5,10 @@ $(function () {
|
|||||||
|
|
||||||
var isOpera = Object.prototype.toString.call(window.opera) == '[object Opera]';
|
var isOpera = Object.prototype.toString.call(window.opera) == '[object Opera]';
|
||||||
|
|
||||||
$("details summary, details summary a").click(function (e) {
|
$("details summary, details summary a[data-toggle=variations]").click(function (e) {
|
||||||
|
if (this.tagName !== "A" && e.target.tagName === "A") {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
var $details = $(this).closest("details");
|
var $details = $(this).closest("details");
|
||||||
var isOpen = $details.prop("open");
|
var isOpen = $details.prop("open");
|
||||||
var $detailsNotSummary = $details.children(':not(summary)');
|
var $detailsNotSummary = $details.children(':not(summary)');
|
||||||
|
|||||||
Reference in New Issue
Block a user