forked from CGM_Public/pretix_original
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');
|
$('.nav-tabs a[href="#' + url.split('#')[1] + '"]').tab('show');
|
||||||
}
|
}
|
||||||
$('a[data-toggle="tab"]').on('click', function (e) {
|
$('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
|
// Event wizard
|
||||||
|
|||||||
Reference in New Issue
Block a user