Skip to content

Commit

Permalink
Removed old comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobJFL committed Jan 4, 2024
1 parent afecd6e commit c25b18f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ function checkQueryArgs() {
const acc = {token,ip};
return connectionGood(acc).then(() => {
localStorage.setItem('hueAcc', JSON.stringify(acc));
window.history.replaceState( {} , document.title, window.location.origin+window.location.pathname );
//window.location.search = "";
window.history.replaceState({}, document.title, window.location.origin+window.location.pathname);
})
} else {
return Promise.resolve();
Expand Down

0 comments on commit c25b18f

Please sign in to comment.