diff --git a/src/Resources/queries/widget.js b/src/Resources/queries/widget.js index 2c6a0513..eea29e21 100644 --- a/src/Resources/queries/widget.js +++ b/src/Resources/queries/widget.js @@ -84,7 +84,7 @@ const $explainButton = $('Visual Explain') .addClass(csscls('visual-explain')) .on('click', () => { - if (!confirm(statement.explain['visual-confirm'])) return; + if (!confirm(confirmMessage)) return; fetch(statement.explain.url, { method: "POST", body: JSON.stringify({