mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 09:06:15 +01:00
fix: post preview not working on parent post
This commit is contained in:
@@ -297,7 +297,7 @@ define('forum/topic', [
|
|||||||
destroyed = true;
|
destroyed = true;
|
||||||
}
|
}
|
||||||
$(window).one('action:ajaxify.start', destroyTooltip);
|
$(window).one('action:ajaxify.start', destroyTooltip);
|
||||||
$('[component="topic"]').on('mouseenter', '[component="post/parent"] a, [component="post/content"] a, [component="topic/event"] a', async function () {
|
$('[component="topic"]').on('mouseenter', '[component="post/parent"], [component="post/content"] a, [component="topic/event"] a', async function () {
|
||||||
const link = $(this);
|
const link = $(this);
|
||||||
destroyed = false;
|
destroyed = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user