Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

gear_menu: Fix obsolete comment about window.onhashchange.

Anders Kaseorg69f454195f81
diff --git a/static/js/gear_menu.js b/static/js/gear_menu.js
index 761c9db4454..7fb9e7954b5 100644
--- a/static/js/gear_menu.js
+++ b/static/js/gear_menu.js
@@ -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.