mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
Zulip 服务器和 Web 应用程序。开源团队聊天可帮助团队保持高效和专注。
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) |
||
|---|---|---|
| api | ||
| assets | ||
| bots | ||
| certs | ||
| confirmation | ||
| humbug | ||
| node_modules | ||
| servers | ||
| templates | ||
| tools | ||
| zephyr | ||
| .gitignore | ||
| manage.py | ||