From bc89882970d6a14b1f72eb9c715fae90b26d066c Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 24 Sep 2019 09:06:04 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/assets/javascripts/tree.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/assets/javascripts/tree.js') diff --git a/app/assets/javascripts/tree.js b/app/assets/javascripts/tree.js index 3e659c9e7ea..69b3d20914a 100644 --- a/app/assets/javascripts/tree.js +++ b/app/assets/javascripts/tree.js @@ -1,4 +1,4 @@ -/* eslint-disable func-names, consistent-return, no-var, one-var, no-else-return, prefer-arrow-callback, class-methods-use-this */ +/* eslint-disable func-names, consistent-return, no-var, one-var, no-else-return, class-methods-use-this */ import $ from 'jquery'; import { visitUrl } from './lib/utils/url_utility'; @@ -29,7 +29,7 @@ export default class TreeView { var li, liSelected; li = $('tr.tree-item'); liSelected = null; - return $('body').keydown(function(e) { + return $('body').keydown(e => { var next, path; if ($('input:focus').length > 0 && (e.which === 38 || e.which === 40)) { return false; -- cgit v1.2.1