patch on hashchange function to only run if hashchange option is true #184

merged 1 commit into from Dec 18, 2013

2 participants


I patched the on 'hashchange' function to only run if the hashchange option is set to true

I was getting console.log errors when I integrated jquery.address (which uses hashchange), despite the hashchange option set to false. This was because an .on() event was binded to hashchange (regardless of the option setting) in the src/setup.js file.

@nicinabox nicinabox merged commit 0244212 into nicinabox:0.6-stable Dec 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment