mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 09:06:15 +01:00
fix: remove tooltip on ajaxify
This commit is contained in:
@@ -180,6 +180,10 @@ define('forum/topic', [
|
|||||||
}
|
}
|
||||||
let timeoutId = 0;
|
let timeoutId = 0;
|
||||||
const postCache = {};
|
const postCache = {};
|
||||||
|
$(window).one('action:ajaxify.start', function () {
|
||||||
|
clearTimeout(timeoutId);
|
||||||
|
$('#post-tooltip').remove();
|
||||||
|
});
|
||||||
$('[component="topic"]').on('mouseenter', '[component="post"] a, [component="topic/event"] a', async function () {
|
$('[component="topic"]').on('mouseenter', '[component="post"] a, [component="topic/event"] a', async function () {
|
||||||
const link = $(this);
|
const link = $(this);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user