From 8ab034d8f05c90e03fef0f719c2110061d0de01c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 10 Jun 2025 10:52:55 -0400 Subject: [PATCH] lint: fix lint --- public/src/client/topic.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/client/topic.js b/public/src/client/topic.js index b790560fa1..0480d3844c 100644 --- a/public/src/client/topic.js +++ b/public/src/client/topic.js @@ -327,7 +327,7 @@ define('forum/topic', [ $(window).one('action:ajaxify.start', destroyTooltip); $('[component="topic"]').on('mouseenter', 'a[component="post/parent"], [component="post/parent/content"] a,[component="post/content"] a, [component="topic/event"] a', async function () { const link = $(this); - link.one('mouseleave', function() { + link.one('mouseleave', function () { if (timeoutId > 0) { clearTimeout(timeoutId); timeoutId = 0; @@ -356,7 +356,7 @@ define('forum/topic', [ tooltip.one('mouseleave', destroyTooltip); $(window).off('click', onClickOutside).one('click', onClickOutside); tooltip.css({ - top: dropup ? linkRect.top - tooltip.outerHeight() : linkRect.top + 30, + top: dropup ? linkRect.top - tooltip.outerHeight() : linkRect.top + 30, left: postRect.left, width: postWidth, });