mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
gear_menu: Fix obsolete comment about window.onhashchange.
Commit 0c80fc6aba (#12737) stopped using
the old-style window.onhashchange property.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
c09da2abdf
commit
69f454195f
@@ -61,8 +61,8 @@ links:
|
||||
|
||||
When you click on the links there is a function
|
||||
called hashchanged() in static/js/hashchange.js
|
||||
that gets invoked. (We use window.onhashchange
|
||||
to register the handler.) This function then
|
||||
that gets invoked. (We register this as a listener
|
||||
for the hashchange event.) This function then
|
||||
launches the appropriate modal for each menu item.
|
||||
Look for things like subs.launch(...) or
|
||||
invite.launch() in that code.
|
||||
|
||||
Reference in New Issue
Block a user