diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2018-01-23 15:19:56 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2018-01-23 15:19:56 +0000 |
commit | 81bdb6ad8a39b7b9645bcfb4178a14a11f5de9e1 (patch) | |
tree | 7e7dfda24c5cb9ddbacd82c2d287d73659e9ec5c /app/assets | |
parent | ea14c1e6963f4411666804aed084344916e49ad9 (diff) | |
download | gitlab-ce-81bdb6ad8a39b7b9645bcfb4178a14a11f5de9e1.tar.gz |
Upgrade jasmine + raven to newer versions
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/fly_out_nav.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/fly_out_nav.js b/app/assets/javascripts/fly_out_nav.js index abb04d77f8f..8b4f3b05ee7 100644 --- a/app/assets/javascripts/fly_out_nav.js +++ b/app/assets/javascripts/fly_out_nav.js @@ -118,14 +118,14 @@ export const showSubLevelItems = (el) => { moveSubItemsToPosition(el, subItems); }; -export const mouseEnterTopItems = (el) => { +export const mouseEnterTopItems = (el, timeout = getHideSubItemsInterval()) => { clearTimeout(timeoutId); timeoutId = setTimeout(() => { if (currentOpenMenu) hideMenu(currentOpenMenu); showSubLevelItems(el); - }, getHideSubItemsInterval()); + }, timeout); }; export const mouseLeaveTopItem = (el) => { |