Skip to content

Commit

Permalink
fix bug in window.location.replace
Browse files Browse the repository at this point in the history
  • Loading branch information
tideorg committed Nov 25, 2024
1 parent fa0f0e0 commit 8c64e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testapp/scripts/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ document.addEventListener("DOMContentLoaded", function () {
// Bind event listeners to buttons by ID
document.getElementById("save-button").addEventListener("click", function () {
saveFormValues();
window.location.replace("/test#url="+tidecloakUrl+"&realm="+realm+"&client="+clientId);
window.location.replace("/#url="+tidecloakUrl+"&realm="+realm+"&client="+clientId);
});
document.getElementById("clear-config-button").addEventListener("click", clearConfig);
document.getElementById("login-button").addEventListener("click", login);
Expand Down

0 comments on commit 8c64e21

Please sign in to comment.