Skip to content

Node.js based forum software built for the modern web

fix: multiple alerts in the same millisecond overwrite each other

Julian Lam589216e720c8
diff --git a/public/src/app.js b/public/src/app.js
index c06a8c9929..82439c270f 100644
--- a/public/src/app.js
+++ b/public/src/app.js
@@ -147,6 +147,7 @@ app.cacheBuster = null;
app.alertSuccess = function (message, timeout) {
app.alert({
+ alert_id: utils.generateUUID(),
title: '[[global:alert.success]]',
message: message,
type: 'success',
@@ -163,6 +164,7 @@ app.cacheBuster = null;
}
app.alert({
+ alert_id: utils.generateUUID(),
title: '[[global:alert.error]]',
message: message,
type: 'danger',