Fixed #1966 - Datatable: Inline filterMenuStyle doesn't add css properties

pull/1990/head
Tuğçe Küçükoğlu 2022-01-14 10:42:28 +03:00 committed by Tuğçe Küçükoğlu
parent 0c6f296ebb
commit 0da16479d6
1 changed files with 2 additions and 2 deletions

View File

@ -488,10 +488,10 @@ export default {
applyStyle(element, style) { applyStyle(element, style) {
if (typeof style === 'string') { if (typeof style === 'string') {
element.style.cssText = this.style; element.style.cssText = style;
} }
else { else {
for (let prop in this.style) { for (let prop in style) {
element.style[prop] = style[prop]; element.style[prop] = style[prop];
} }
} }