Open jameshopkins opened 10 years ago
the opening and closing is handled by the hash-manager on line 93.
I reckon if you add a new config option, passing a third option to the hash.register
would probably do what you want it to.
A good chance to split this out into its own component..
drop us a mail or come over to sky news if you want to pair.
Once a user opens a lightbox, and they click the browser's 'back' button (which changes the URL hash to the previous state), the lightbox doesn't close too.