From 03972f0aecbb2a9c8e89b39c99fa1c3f02f45b57 Mon Sep 17 00:00:00 2001 From: Didier Korthoudt Date: Fri, 2 Oct 2020 10:55:55 +0200 Subject: [PATCH] Fixed: The classname for CSS theming on CPImage was not specified in the correct DOM element (#2908) --- AppKit/CPImage.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPImage.j b/AppKit/CPImage.j index 060f6d71c..3626eac98 100644 --- a/AppKit/CPImage.j +++ b/AppKit/CPImage.j @@ -685,7 +685,7 @@ function CPAppKitImage(aFilename, aSize) aStyleNode.replaceChild(styleDescription, aStyleNode.firstChild); } - [aView setDOMClassName:@"CP"+[aView UID]]; + aDOMElement.className = @"CP"+[aView UID]; } else {