I want to change the user status on click of a Button, so all I am doing is, detecting the current status and changing, if needed.
But in this case the changes the s
Have you tried this?:
window.location = window.location;
Apparently you can drop the "window.", but haven't tried it myself.