mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
eslint: Enable prefer-arrow-callback.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
960174408f
commit
a79322bc94
@@ -281,7 +281,7 @@ exports.go_to_location = function (hash) {
|
||||
};
|
||||
|
||||
exports.initialize = function () {
|
||||
$(window).on('hashchange', function (e) {
|
||||
$(window).on('hashchange', (e) => {
|
||||
hashchanged(false, e.originalEvent);
|
||||
});
|
||||
hashchanged(true);
|
||||
|
||||
Reference in New Issue
Block a user