I refresh pages by writing window.location = window.location;
. However this doesn't work on a page like /page#c22. It will just jump to whereever c22 is. How do I refresh the page?
It does not need to use go to #c22 once refreshed but I am sure there is a more dependable way than window.location = window.location
.