mirror of
https://github.com/zulip/zulip.git
synced 2026-07-18 21:04:19 +08:00
Fix name of hashchange.zephyr event in changehash
tabbott noticed this mistake during some pair programming (imported from commit 3b5885f50929e3ed0062eef4e5f3aba0a14d52bc)
This commit is contained in:
parent
c4e4b481bd
commit
1cf946969d
@ -23,7 +23,7 @@ exports.changehash = function (newhash) {
|
||||
if (changing_hash) {
|
||||
return;
|
||||
}
|
||||
$(document).trigger($.Event('hashchange'));
|
||||
$(document).trigger($.Event('hashchange.zephyr'));
|
||||
expected_hash = newhash;
|
||||
// Some browsers reset scrollTop when changing the hash to "",
|
||||
// so we save and restore it.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user