From: Alexander Ebert Date: Thu, 28 May 2020 10:42:43 +0000 (+0200) Subject: Incorrect fix for the class access X-Git-Tag: 5.2.7~30 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d1ce21dc1be808b75dd2cc3884dc8c918f43e365;p=GitHub%2FWoltLab%2FWCF.git Incorrect fix for the class access --- 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);