Mark valid usecases for alert

This commit is contained in:
Holger Jeromin 2025-02-05 18:04:57 +01:00
parent 361dcbb1df
commit c855d86bf8
3 changed files with 3 additions and 0 deletions

View file

@ -255,6 +255,7 @@ $(document).ready(function () {
fetch(url, { mode: "no-cors", signal: AbortSignal.timeout(5000) })
.then(callback)
.catch(function () {
// eslint-disable-next-line no-alert
alert(I18n.t("site.index.remote_failed"));
});
}