Fixed #1966 - Datatable: Inline filterMenuStyle doesn't add css properties
parent
0c6f296ebb
commit
0da16479d6
|
@ -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];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue