don't resend form data on notification refresh

This commit is contained in:
Simon 2024-04-22 20:20:17 +02:00
parent 7ad5eced93
commit 618e1a7d41
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ function buildMessage(responseData, dataOrigin) {
}
clearNotifications(responseData);
if (currentNotifications > 0 && messages.length === 0) {
location.reload();
location.replace(location.href);
}
return messages;
}