From 3b526244104c8668b40fbc25121d3fc84cf0e039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 21 Oct 2022 13:35:23 -0400 Subject: [PATCH] change tooltip container --- public/src/client/topic/votes.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/src/client/topic/votes.js b/public/src/client/topic/votes.js index 3f2bc718d0..9924bd6f68 100644 --- a/public/src/client/topic/votes.js +++ b/public/src/client/topic/votes.js @@ -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', ''); }