未验证 提交 201db3ee 编写于 作者: A activ45 提交者: GitHub

Update tabler.js

Small editing for tooltip
上级 e7141220
......@@ -23,8 +23,8 @@ import './dropdown';
popoverTriggerList.map(function (popoverTriggerEl) {
let options = {
delay: {show: 50, hide: 50},
html: true,
placement: 'auto'
html: tooltipTriggerEl.getAttribute('data-bs-html') ?? false,
placement: tooltipTriggerEl.getAttribute('data-bs-placement') ?? 'auto'
};
return new bootstrap.Popover(popoverTriggerEl, options);
});
......@@ -44,4 +44,4 @@ import './dropdown';
});
});
})();
\ No newline at end of file
})();
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册