/* global KEEP */ KEEP.initTooltip = () => { KEEP.utils.insertTooltipContent = () => { document.querySelectorAll('.tooltip').forEach(element => { const { content } = element.dataset if (content) { element.insertAdjacentHTML( 'afterbegin', `${content}` ); } }) } KEEP.utils.insertTooltipContent(); }