mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
fix: #8915, fix queue not being cleared after firing click events
if you clicked elements early then on every ajaxify.end the same elements were getting click events @julianlam
This commit is contained in:
@@ -60,6 +60,7 @@ app.cacheBuster = null;
|
||||
earlyQueue.forEach(function (el) {
|
||||
el.click();
|
||||
});
|
||||
earlyQueue = [];
|
||||
});
|
||||
} else {
|
||||
setTimeout(app.handleEarlyClicks, 50);
|
||||
|
||||
Reference in New Issue
Block a user