mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 14:04:20 +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')
|
||||
})
|
||||
|
||||
$('.close').click(function() {
|
||||
$('#chal-window').on('hidden.bs.modal', function() {
|
||||
$('.nav-tabs a:first').tab('show')
|
||||
window.location.hash = ""
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user