master
Jean-Christian Paul Denis 2023-04-25 15:05:47 +02:00
parent 19dba282e3
commit c45d7f40ec
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 15 additions and 13 deletions

View File

@ -9,10 +9,12 @@ $(() => {
legend_click:true
}
);
if ($.isFunction(jsToolBar)) {
$('#post_wtext').each(function () {
var tbWidgetText = new jsToolBar(this);
if (typeof jsToolBar === 'function') {
const tbWidgetText = new jsToolBar(this);
tbWidgetText.context = 'pwt';
tbWidgetText.draw('xhtml');
});
}
});
});