mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-18 06:24:23 +01:00
Causes some history glitches
This commit is contained in:
@@ -271,7 +271,7 @@ $('.nav-tabs a').click(function (e) {
|
||||
|
||||
$('#chal-window').on('hidden.bs.modal', function() {
|
||||
$('.nav-tabs a:first').tab('show');
|
||||
history.pushState("", document.title, window.location.pathname + window.location.search);
|
||||
window.location.replace(window.location.href.split('#')[0] + '#');
|
||||
});
|
||||
|
||||
setInterval(update, 300000);
|
||||
|
||||
Reference in New Issue
Block a user