Candle/anmelden.js

8 lines
227 B
JavaScript

document.getElementById("anmeldebutton").addEventListener("submit", Redirect);
function Redirect() {
window.location = sessionStorage.getItem("clicked-last")
sessionStorage.removeItem("clicked-last")
return true
}