factor out tintable SVGs into their own component, and use plain DOM onload rather than react synthetic events
This commit is contained in:
parent
9e8daba8d7
commit
509ea7c4f3
8 changed files with 82 additions and 20 deletions
|
@ -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++) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue