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
v1.18.x
Barış Soner Uşaklı 4 years ago
parent b47a470b9b
commit 6ef7e8675f

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

Loading…
Cancel
Save