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:
Jeff Arnold 2013-04-23 11:17:55 -04:00
parent c4e4b481bd
commit 1cf946969d

View File

@ -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.