From d675a1a08063d46488b8180f40a37ae987899e90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 6 Dec 2021 15:06:34 -0500 Subject: [PATCH] refactor: alerts --- public/modules/quickreply.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/modules/quickreply.js b/public/modules/quickreply.js index 7f3b1e2..9daffc9 100644 --- a/public/modules/quickreply.js +++ b/public/modules/quickreply.js @@ -45,7 +45,7 @@ define('persona/quickreply', [ api.post(`/topics/${ajaxify.data.tid}`, replyData, function (err, data) { ready = true; if (err) { - return app.alertError(err.message); + return alerts.error(err); } if (data && data.queued) { alerts.success(data.message);