提交 65535829 编写于 作者: C Clement Ho

Fix resolve discussion tooltip

上级 766b0e7d
......@@ -136,7 +136,8 @@ document.addEventListener('DOMContentLoaded', () => {
});
// Initialize tooltips
$('.has-tooltip, [data-toggle="tooltip"]').tooltip({
$body.tooltip({
selector: '.has-tooltip, [data-toggle="tooltip"]',
placement(tip, el) {
return $(el).data('placement') || 'bottom';
},
......
......@@ -22,7 +22,7 @@
- if discussion.potentially_resolvable?
- line_type = local_assigns.fetch(:line_type, nil)
.btn-group.d-flex.discussion-with-resolve-btn{ role: "group" }
.btn-group.discussion-with-resolve-btn{ role: "group" }
.btn-group{ role: "group" }
= link_to_reply_discussion(discussion, line_type)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册