mirror of
https://github.com/pretix/pretix.git
synced 2025-12-06 21:42:49 +00:00
Co-authored-by: Raphael Michel <michel@rami.io>
This commit is contained in:
committed by
GitHub
parent
bdf1fc2c23
commit
6afb954b93
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user