diff --git a/changedetectionio/static/js/tabs.js b/changedetectionio/static/js/tabs.js index c419e0fb..59c20e99 100644 --- a/changedetectionio/static/js/tabs.js +++ b/changedetectionio/static/js/tabs.js @@ -12,7 +12,7 @@ window.addEventListener('hashchange', function () { var has_errors = document.querySelectorAll(".messages .error"); if (!has_errors.length) { if (document.location.hash == "") { - document.querySelector(".tabs ul li:first-child a").click(); + location.replace(document.querySelector(".tabs ul li:first-child a").hash); } else { set_active_tab(); }