mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-11 11:42:10 +02:00
tooltip container
This commit is contained in:
@@ -48,6 +48,7 @@ define('forum/header', [
|
||||
selector: '.nav-item',
|
||||
placement: 'bottom',
|
||||
trigger: 'hover',
|
||||
container: 'body',
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,9 @@ define('forum/topic/threadTools', [
|
||||
ThreadTools.init = function (tid, topicContainer) {
|
||||
renderMenu(topicContainer);
|
||||
|
||||
$('.topic-main-buttons [title]').tooltip();
|
||||
$('.topic-main-buttons [title]').tooltip({
|
||||
container: '#content',
|
||||
});
|
||||
|
||||
// function topicCommand(method, path, command, onComplete) {
|
||||
topicContainer.on('click', '[component="topic/delete"]', function () {
|
||||
|
||||
Reference in New Issue
Block a user