mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 22:14:25 +01:00
Making tab switching in modals more streamlined
This commit is contained in:
@@ -252,7 +252,7 @@ $('.nav-tabs a').click(function (e) {
|
|||||||
$(this).tab('show')
|
$(this).tab('show')
|
||||||
})
|
})
|
||||||
|
|
||||||
$('.close').click(function() {
|
$('#chal-window').on('hidden.bs.modal', function() {
|
||||||
$('.nav-tabs a:first').tab('show')
|
$('.nav-tabs a:first').tab('show')
|
||||||
window.location.hash = ""
|
window.location.hash = ""
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user