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
I have two other options to you:
history.go(0);
And:
window.location.href = window.location.href;
I'm not tested it on Firefox and Chrome yet, but it may help you faster. Tomorrow I'll do the tests and update the answer if this not work.