Skip to content

Commit

Permalink
Merge pull request #1381 from ItzNotABug/change-modal-expiration
Browse files Browse the repository at this point in the history
Modal Expiration
  • Loading branch information
TorstenDittmann authored Oct 1, 2024
2 parents 509a618 + f4ea908 commit b1a0f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/bottomModalAlert.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
function handleClose() {
const modalAlert = currentModalAlert;
dismissBottomModalAlert(modalAlert.id);
hideNotification(modalAlert.id);
hideNotification(modalAlert.id, { coolOffPeriod: 24 * 365 });
if (modalAlert.closed) modalAlert.closed();
if (currentIndex === filteredModalAlerts.length - 1 && filteredModalAlerts.length > 1) {
Expand Down

0 comments on commit b1a0f38

Please sign in to comment.