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.jsindex 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 functioncalled 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 thenlaunches the appropriate modal for each menu item.Look for things like subs.launch(...) orinvite.launch() in that code.