We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 868d059 commit b1ddb8cCopy full SHA for b1ddb8c
web_src/js/features/comp/ConfirmModal.js
@@ -2,9 +2,10 @@ import $ from 'jquery';
2
import {svg} from '../../svg.js';
3
import {htmlEscape} from 'escape-goat';
4
5
+const {i18n} = window.config;
6
+
7
export async function confirmModal(opts = {content: '', buttonColor: 'green'}) {
8
return new Promise((resolve) => {
- const i18n = window.config.i18n;
9
const $modal = $(`
10
<div class="ui g-modal-confirm modal">
11
<div class="content">${htmlEscape(opts.content)}</div>
0 commit comments