Node.js based forum software built for the modern web
fix: regression from benchpress parse => render change
Barış Soner Uşaklıafbecfde60cc
diff --git a/public/src/modules/accounts/invite.js b/public/src/modules/accounts/invite.jsindex 2221f3fca7..7a3c7cb10e 100644--- a/public/src/modules/accounts/invite.js+++ b/public/src/modules/accounts/invite.js@@ -11,7 +11,7 @@ define('accounts/invite', ['api', 'benchpress', 'modals', 'alerts'], function (a$('[component="user/invite"]').on('click', function (e) {e.preventDefault();api.get(`/api/v3/users/${app.user.uid}/invites/groups`, {}).then((groups) => {- Benchpress.render('modals/invite', { groups }, function (html) {+ Benchpress.render('modals/invite', { groups }).then(function (html) {modals.dialog({message: html,title: `[[${isACP() ? 'admin/manage/users:invite' : 'users:invite'}]]`,