mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-28 10:59:09 +02:00
change tooltip container
This commit is contained in:
@@ -37,7 +37,9 @@ define('forum/topic/votes', [
|
||||
tooltip.setContent({ '.tooltip-inner': title });
|
||||
} else {
|
||||
el.attr('title', title);
|
||||
(new bootstrap.Tooltip(el)).show();
|
||||
(new bootstrap.Tooltip(el, {
|
||||
container: '#content',
|
||||
})).show();
|
||||
}
|
||||
el.parent().find('.tooltip').css('display', '');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user