Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
search: Fix ESLint prefer-arrow-callback error.
Anders Kaseorgf1d475206e21
diff --git a/static/js/search.js b/static/js/search.jsindex ec56512aafa..e6ab9da0abb 100644--- a/static/js/search.js+++ b/static/js/search.js@@ -193,7 +193,7 @@ exports.initialize = function () {// Uses jquery instead of pure css as the `:focus` event occurs on `#search_query`,// while we want to add box-shadow to `#searchbox`. This could have been done// with `:focus-within` CSS selector, but it is not supported in IE or Opera.- searchbox.on('focusout', function () {+ searchbox.on('focusout', () => {tab_bar.close_search_bar_and_open_narrow_description();searchbox.css({"box-shadow": "unset"});});