Node.js based forum software built for the modern web
fix: modals usage and handles
Barış Soner Uşaklı2afea1ee0556
diff --git a/public/src/modules/intents.js b/public/src/modules/intents.jsindex 3ffe124cb7..d185f2a086 100644--- a/public/src/modules/intents.js+++ b/public/src/modules/intents.js@@ -1,6 +1,6 @@'use strict';-import { dialog } from 'bootbox';+import { dialog } from 'modals';import * as Benchpress from 'benchpressjs';import { get } from 'api';import storage from 'storage';@@ -134,7 +134,7 @@ export async function register() {handle,intents: (await mapIntentNames(intents)).join(', '),})));- const html = await Benchpress.render('modals/intents/register', 'handles', { handles });+ const html = await Benchpress.render('modals/intents/register', { handles });modal.find('#intents-registered-list').html(html);} catch (e) {alerts.error(e.message);