diff --git a/src/pretix/static/pretixcontrol/js/ui/main.js b/src/pretix/static/pretixcontrol/js/ui/main.js index 23c0a91f9..e0ce8e34d 100644 --- a/src/pretix/static/pretixcontrol/js/ui/main.js +++ b/src/pretix/static/pretixcontrol/js/ui/main.js @@ -614,7 +614,10 @@ $(function () { $('.nav-tabs a[href="#' + url.split('#')[1] + '"]').tab('show'); } $('a[data-toggle="tab"]').on('click', function (e) { - window.location.hash = e.target.hash; + if (!$(this).closest(".tab-content").length) { + // only append hash if not inside a .panel + window.location.hash = this.hash; + } }); // Event wizard