From d9f3b1220fada919282817d644129be46be2f5b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 2 Feb 2022 13:07:51 +0300 Subject: [PATCH] Fixed #2089 - DataTable v2: Inline filterMenuStyle doesn't add css properties --- src/components/utils/DomHandler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/utils/DomHandler.js b/src/components/utils/DomHandler.js index e6dc5dd4d2..445fd03fe8 100755 --- a/src/components/utils/DomHandler.js +++ b/src/components/utils/DomHandler.js @@ -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]; } }