Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jason5ng32 committed Dec 26, 2023
1 parent 95d56da commit 24b8d5d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions public/res/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,14 +396,16 @@ new Vue({
}
};

connectivityTests.forEach((test) => {
this.checkConnectivityHandler(test, isAlertToShow, onTestComplete);
connectivityTests.forEach((test, index) => {
setTimeout(() => {
this.checkConnectivityHandler(test, isAlertToShow, onTestComplete);
}, 50 * index);
});

if (isAlertToShow) {
setTimeout(() => {
this.showToast();
}, 3500);
}, 4000);
}
},

Expand Down

0 comments on commit 24b8d5d

Please sign in to comment.