zulip/zephyr/static
Tim Abbott fa239ea270 hashchange: Don't change the hash when called from hashchange code.
I generally don't like this sort of state variable, but I don't see a
better solution.  The codepath is that when you start out on the
subscriptions page and then click one of the left sidebar links to
narrow to something:

(1) hashchanged() would call ui.change_tab
(2) ui.change_tab triggers a gear change event
(3) The ui.js gear-changed event handler updates the hash

Resulting in the hash ending up at "#".  Since there's no easy way to
pass arguments through to the event handler, we just use a global
variable inside hash_change.js to track whether we're currently
handling a hashchange event.

(imported from commit 7bb905a223b5539240fc36de7896ee8074ebc62e)
2013-04-03 14:49:32 -04:00
..
html Increase time for 5xx error page before redirect to 60 seconds. 2013-03-06 13:34:59 -05:00
images Update integrations copy to mention %40 hack 2013-04-03 10:21:06 -04:00
js hashchange: Don't change the hash when called from hashchange code. 2013-04-03 14:49:32 -04:00
styles Tailor empty narrow messages to what you were narrowing for. 2013-04-01 14:26:50 -04:00
templates Precompile Handlebars templates in production 2013-04-02 14:43:59 -04:00
third Upgrade to Handlebars 1.0.0-rc.3 2013-04-02 14:43:58 -04:00
favicon.ico Make favicon have transparent background. 2012-12-18 16:24:00 -05:00
robots.txt Add robots.txt 2012-10-17 15:04:33 -04:00