Causes some history glitches

selenium-screenshot-testing
Kevin Chung 2016-09-27 22:16:26 -04:00
parent 9cf8dbf8ad
commit 10ef13e9d5
1 changed files with 1 additions and 1 deletions

View File

@ -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);