mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
hashchange: Extract hashchange.go_to_location().
We use this API when we want the machinery of the hashchanged system to come into play.
This commit is contained in:
@@ -84,7 +84,7 @@ exports.process = function (message_content) {
|
||||
}
|
||||
|
||||
if (content === '/settings') {
|
||||
window.location.hash = 'settings/your-account';
|
||||
hashchange.go_to_location('settings/your-account');
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user