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:
Barış Soner Uşaklı
2020-11-19 17:23:52 -05:00
parent b47a470b9b
commit 6ef7e8675f

View File

@@ -60,6 +60,7 @@ app.cacheBuster = null;
earlyQueue.forEach(function (el) {
el.click();
});
earlyQueue = [];
});
} else {
setTimeout(app.handleEarlyClicks, 50);