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:
Austin Riba
2022-03-01 10:14:26 -08:00
committed by Tim Abbott
parent b39d47995d
commit b22578f975
27 changed files with 59 additions and 59 deletions

View File

@@ -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");