Fixed: The classname for CSS theming on CPImage was not specified in the correct DOM element (#2908)

This commit is contained in:
Didier Korthoudt
2020-10-02 10:55:55 +02:00
committed by GitHub
parent 6143ec4180
commit 03972f0aec
+1 -1
View File
@@ -685,7 +685,7 @@ function CPAppKitImage(aFilename, aSize)
aStyleNode.replaceChild(styleDescription, aStyleNode.firstChild);
}
[aView setDOMClassName:@"CP"+[aView UID]];
aDOMElement.className = @"CP"+[aView UID];
}
else
{