Skip to content

Node.js based forum software built for the modern web

fix: typo

Barış Soner Uşaklı2280ea88f24f
diff --git a/public/src/client/topic.js b/public/src/client/topic.js
index 3bb50a5da5..f332a807be 100644
--- a/public/src/client/topic.js
+++ b/public/src/client/topic.js
@@ -363,7 +363,7 @@ define('forum/topic', [
const { top } = link.get(0).getBoundingClientRect();
const dropup = top > window.innerHeight / 2;
tooltip.on('mouseenter', function () {
- onPreviewTooltip = true;
+ cursorOnPreviewTooltip = true;
});
tooltip.one('mouseleave', destroyTooltip);
$(window).off('click', onClickOutside).one('click', onClickOutside);