More jQuery to native (including bootstrap.js)

This commit is contained in:
djmaze 2020-08-30 10:30:50 +02:00
parent bdb36ec128
commit 69fcc240e9
39 changed files with 496 additions and 344 deletions

View file

@ -31,7 +31,7 @@ class AbstractInput extends AbstractComponent {
});
if (undefined !== params.width && params.element) {
params.element.find('input,select,textarea').css('width', params.width);
params.element.querySelectorAll('input,select,textarea').forEach(node => node.style.width = params.width);
}
this.disposable.push(this.className);