lint: fix lint

This commit is contained in:
Barış Soner Uşaklı
2025-06-10 10:52:55 -04:00
parent 14e30c4bf8
commit 8ab034d8f0

View File

@@ -327,7 +327,7 @@ define('forum/topic', [
$(window).one('action:ajaxify.start', destroyTooltip); $(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 () { $('[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); const link = $(this);
link.one('mouseleave', function() { link.one('mouseleave', function () {
if (timeoutId > 0) { if (timeoutId > 0) {
clearTimeout(timeoutId); clearTimeout(timeoutId);
timeoutId = 0; timeoutId = 0;