Skip to content

Commit 64a9504

Browse files
committed
fix: Do not set an interval but a timeout for lazyUpdateTimeout
1 parent 4c247ad commit 64a9504

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

view/base/templates/script/ajax-queue.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if ($interval < 10) {
4040
});
4141

4242
if (component.lazyUpdate && component.lazyUpdateTimeout > 0) {
43-
setInterval(async () => {
43+
setTimeout(async () => {
4444
component.lazyUpdate = false;
4545
}, component.lazyUpdateTimeout);
4646
}

0 commit comments

Comments
 (0)