factor out tintable SVGs into their own component, and use plain DOM onload rather than react synthetic events

This commit is contained in:
Matthew Hodgson 2016-01-06 02:11:07 +00:00
parent 9e8daba8d7
commit 509ea7c4f3
8 changed files with 82 additions and 20 deletions

View file

@ -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++) {