You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
factor out tintable SVGs into their own component, and use plain DOM onload rather than react synthetic events
This commit is contained in:
@@ -102,7 +102,7 @@ function calcCssFixups() {
|
||||
}
|
||||
|
||||
function calcSvgFixups(nodes) {
|
||||
var svgs = nodes || document.getElementsByClassName("mx_Svg");
|
||||
var svgs = nodes || document.getElementsByClassName("mx_TintableSvg");
|
||||
var fixups = [];
|
||||
for (var i = 0; i < svgs.length; i++) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user