diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2017-08-29 17:11:07 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-08-29 17:11:07 -0500 |
commit | 0f103693ffe4c0b7d6f4b5c8596fee13fbe1ea33 (patch) | |
tree | 5da76345545ba7ae3350d643e0a59a289f29b0cf | |
parent | a5b169a80ce6f21f5c8c96966cd17930341239a1 (diff) | |
download | gitlab-ce-0f103693ffe4c0b7d6f4b5c8596fee13fbe1ea33.tar.gz |
Use hide instead of hidden as it is opposite of show
-rw-r--r-- | app/assets/javascripts/feature_highlight/feature_highlight_manager.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/feature_highlight/feature_highlight_manager.js b/app/assets/javascripts/feature_highlight/feature_highlight_manager.js index e7f5824b397..6baa2fb2c2b 100644 --- a/app/assets/javascripts/feature_highlight/feature_highlight_manager.js +++ b/app/assets/javascripts/feature_highlight/feature_highlight_manager.js @@ -53,7 +53,7 @@ export default class FeatureHighlightManager { .on('show.bs.popover', () => { window.addEventListener('scroll', hideOnScroll); }) - .on('hidden.bs.popover', () => { + .on('hide.bs.popover', () => { window.removeEventListener('scroll', hideOnScroll); }) // Display feature highlight |