Commit 3a6fc8b3 authored by Luke Bennett's avatar Luke Bennett

Update popover.js

parent 90ca4aa0
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);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment