Skip to content

Commit

Permalink
Summary
Browse files Browse the repository at this point in the history
  • Loading branch information
EuJinnLucaShow committed Nov 12, 2023
1 parent fa26439 commit 8348beb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/js/infinitescroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function showWarningToast(message) {
message: message,
position: 'topRight',
color: 'yellow',
timeout: 2000,
timeout: 4000,
closeOnEscape: true,
closeOnClick: true,
});
Expand All @@ -145,7 +145,7 @@ function showErrorToast(message) {
message: message,
position: 'topRight',
color: 'red',
timeout: 2000,
timeout: 3000,
closeOnEscape: true,
closeOnClick: true,
});
Expand All @@ -169,7 +169,7 @@ function showInfoToast(message) {
message: message,
position: 'topRight',
color: 'blue',
timeout: 2000,
timeout: 3000,
closeOnEscape: true,
closeOnClick: true,
});
Expand Down
8 changes: 4 additions & 4 deletions src/js/loadmore.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function showWarningToast(message) {
message: message,
position: 'topRight',
color: 'yellow',
timeout: 2000,
timeout: 4000,
closeOnEscape: true,
closeOnClick: true,
});
Expand All @@ -125,14 +125,14 @@ function showErrorToast(message) {
message: message,
position: 'topRight',
color: 'red',
timeout: 2000,
timeout: 3000,
closeOnEscape: true,
closeOnClick: true,
});
}

function showSuccessToast(message) {
iziToast.success({
iziToast.success({
title: 'Success',
message: message,
position: 'topRight',
Expand All @@ -149,7 +149,7 @@ function showInfoToast(message) {
message: message,
position: 'topRight',
color: 'blue',
timeout: 2000,
timeout: 3000,
closeOnEscape: true,
closeOnClick: true,
});
Expand Down

0 comments on commit 8348beb

Please sign in to comment.