summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2017-08-29 17:11:07 -0500
committerClement Ho <ClemMakesApps@gmail.com>2017-08-29 17:11:07 -0500
commit0f103693ffe4c0b7d6f4b5c8596fee13fbe1ea33 (patch)
tree5da76345545ba7ae3350d643e0a59a289f29b0cf
parenta5b169a80ce6f21f5c8c96966cd17930341239a1 (diff)
downloadgitlab-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.js2
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