You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in browsers, setting window.location to '#something' does not cause a page reload. It does in env-js though. i would like to use env.js with a single page web app and this behaviour is preventing the app from working properly when clicking links like .
i would like to write a patch that allows clicking of links to hashes. would you be interested in accepting such a change? From what I understand so far, it means changes to a.js to include the hash in the href getter, and changes to location.assign to identify when the change is a hash change only. i will include tests.
The text was updated successfully, but these errors were encountered:
I came up with exactly same problem. A work around is to set document.location.hash, but it becomes nasty when every third party library needs to be updated because of that.
So please, tell me when you have implemented the patch :)
in browsers, setting window.location to '#something' does not cause a page reload. It does in env-js though. i would like to use env.js with a single page web app and this behaviour is preventing the app from working properly when clicking links like .
i would like to write a patch that allows clicking of links to hashes. would you be interested in accepting such a change? From what I understand so far, it means changes to a.js to include the hash in the href getter, and changes to location.assign to identify when the change is a hash change only. i will include tests.
The text was updated successfully, but these errors were encountered: