summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/shared/popover.js
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2018-03-28 16:19:35 +0000
committerLuke Bennett <lbennett@gitlab.com>2018-03-28 16:19:35 +0000
commit3a6fc8b3298faa89f8b9d5899546738db230fbe9 (patch)
tree16b9dc231f98dfb5bec4253324826d699ff18dfc /app/assets/javascripts/shared/popover.js
parent90ca4aa03239c3924c0005c3c3e2fdb563a9beb2 (diff)
downloadgitlab-ce-3a6fc8b3298faa89f8b9d5899546738db230fbe9.tar.gz
Update popover.js
Diffstat (limited to 'app/assets/javascripts/shared/popover.js')
-rw-r--r--app/assets/javascripts/shared/popover.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/shared/popover.js b/app/assets/javascripts/shared/popover.js
index b406571a1db..3fc03553bdd 100644
--- a/app/assets/javascripts/shared/popover.js
+++ b/app/assets/javascripts/shared/popover.js
@@ -1,5 +1,5 @@
import $ from 'jquery';
-import { debounce } from 'underscore';
+import _ from 'underscore';
export function togglePopover(show) {
const isAlreadyShown = this.hasClass('js-popover-show');
@@ -29,5 +29,5 @@ export function mouseenter() {
}
export function debouncedMouseleave(debounceTimeout = 300) {
- return debounce(mouseleave, debounceTimeout);
+ return _.debounce(mouseleave, debounceTimeout);
}