mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: remove tooltip on ajaxify
This commit is contained in:
@@ -180,6 +180,10 @@ define('forum/topic', [
|
||||
}
|
||||
let timeoutId = 0;
|
||||
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 () {
|
||||
const link = $(this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user