-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hitting back button of browser does not take you back to main site #60
Comments
I don't think we'll be able to fix this without proper routing |
It might be happening because all events data are are being displaying dynamically by showing/hiding of divs using jquery on the same index.html page. |
Cant we have unique links for each event? @Slayslot @CuriousLearner |
@vipinkhushu We do have unique links but they are just hashes. To get proper unique links I would recommend going for a proper routing library. Or, adding angular and implementing routing for now. We, already plan to go for angular on v2. |
I dont know if you guys know or not there is onhashchange event handler present in JS . |
@tarungarg546 Why not issue a PR? :) |
Even i will see to it @tarungarg546 @CuriousLearner |
@tarungarg546 How does that help this issue? I'm the one that created that onhashchange event handler. |
@Slayslot I presume you are just changing the hash when user clicks on more past events and when user clicks back button of browser then again hash gets changed so you can detect this hashchange and do whateva you may like then. |
Well, we don't have any written case for detecting when users clicks the back buttons and we also don't have a |
@Slayslot Could you provide me any documentation about how to run this website in my local env(i mean how to run your server ), So that before making an PR i could test this in my local env. |
@tarungarg546 No local servers needed as of now, just fork, clone and you're good to go. Just beware of #56 if you work on chrome. |
@SlaySlot just few points ...
It will take sometime for me to fix this because of other urgent tasks. |
The only thing I learned here is that I'm a moron who can't remember to use the correct variables at the correct place. Thank for pointing that out anyway. In case, there was some other point you're trying to make here, do enlighten me.
I'm indeed changing hash using window.location.hash, but in order to set it back to just |
Steps to reproduce this issue:
The text was updated successfully, but these errors were encountered: