From d1ce21dc1be808b75dd2cc3884dc8c918f43e365 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 28 May 2020 12:42:43 +0200 Subject: [PATCH] Incorrect fix for the class access --- wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dialog.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dialog.js index 1be93fd7bf..9737cee67c 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dialog.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dialog.js @@ -683,7 +683,7 @@ define( // // We can use `backface-visibility: hidden` to prevent the anti aliasing artifacts in // WebKit/Blink, which will also prevent some weird font rendering issues when resizing. - if (data.content.parentNode !== null) data.content.parentNode.add('jsWebKitFractionalPixelFix'); + data.content.parentNode.classList.add('jsWebKitFractionalPixelFix'); } var callbackObject = _dialogToObject.get(id); -- 2.20.1