make eslint happy

This commit is contained in:
Régis Hanol 2019-05-23 12:51:40 +02:00
parent 0cc81f95a5
commit 943fdc1762
2 changed files with 5 additions and 2 deletions

View File

@ -12,7 +12,9 @@ export default {
router.on("routeWillChange", hidePopover);
$("#main")
.on("click.d-popover mouseenter.d-popover", POPOVER_SELECTORS, e => showPopover(e))
.on("click.d-popover mouseenter.d-popover", POPOVER_SELECTORS, e =>
showPopover(e)
)
.on("mouseleave.d-popover", POPOVER_SELECTORS, e => hidePopover(e));
}
};

View File

@ -16,7 +16,8 @@ const D_ARROW_HEIGHT = 10;
const D_HORIZONTAL_MARGIN = 5;
export const POPOVER_SELECTORS = "[data-html-popover], [data-html-tooltip], [data-popover], [data-tooltip]";
export const POPOVER_SELECTORS =
"[data-html-popover], [data-html-tooltip], [data-popover], [data-tooltip]";
export function hidePopover() {
getPopover()