tooltip container

This commit is contained in:
Barış Soner Uşaklı
2022-10-03 14:03:40 -04:00
parent 6a5a28abca
commit ba52531a20
2 changed files with 4 additions and 1 deletions

View File

@@ -48,6 +48,7 @@ define('forum/header', [
selector: '.nav-item',
placement: 'bottom',
trigger: 'hover',
container: 'body',
});
}

View File

@@ -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 () {