fix wrong editor id

This commit is contained in:
Jean-Christian Denis 2023-04-25 11:47:13 +02:00
parent e5beff9747
commit 0e1627414f
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -3,9 +3,9 @@
$(() => {
if (typeof jsToolBar === 'function') {
$('#disclaimer_text').each(function () {
$('#construction_message').each(function () {
const tbWidgetTextDisclaimer = new jsToolBar(this);
tbWidgetTextDisclaimer.context = 'disclaimer_text';
tbWidgetTextDisclaimer.context = 'construction_message';
tbWidgetTextDisclaimer.draw('xhtml');
});
}