mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
hash_util: Rename _uri functions to _url.
It's 2022 and the WHATWG no longer recognizes the term URI. Everything is now a URL or a type of URL. Which is great because it's way less confusing. Details here: https://url.spec.whatwg.org/
This commit is contained in:
@@ -244,7 +244,7 @@ export function initialize() {
|
||||
// so we re-encode the hash.
|
||||
const stream_id = Number.parseInt($(this).attr("data-stream-id"), 10);
|
||||
if (stream_id) {
|
||||
browser_history.go_to_location(hash_util.by_stream_uri(stream_id));
|
||||
browser_history.go_to_location(hash_util.by_stream_url(stream_id));
|
||||
return;
|
||||
}
|
||||
window.location.href = $(this).attr("href");
|
||||
|
||||
Reference in New Issue
Block a user