Skip to content

Commit

Permalink
Fixed #2089 - DataTable v2: Inline filterMenuStyle doesn't add css pr…
Browse files Browse the repository at this point in the history
…operties
  • Loading branch information
tugcekucukoglu committed Feb 2, 2022
1 parent e3381cc commit d9f3b12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/utils/DomHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -493,10 +493,10 @@ export default class DomHandler {

static applyStyle(element, style) {
if (typeof style === 'string') {
element.style.cssText = this.style;
element.style.cssText = style;
}
else {
for (let prop in this.style) {
for (let prop in style) {
element.style[prop] = style[prop];
}
}
Expand Down

0 comments on commit d9f3b12

Please sign in to comment.