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:
Anders Kaseorg
2021-05-19 16:50:32 -07:00
committed by Tim Abbott
parent c09da2abdf
commit 69f454195f

View File

@@ -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.