Skip to content
Snippets Groups Projects

Issue #3399270 by Masami, yas: Migrate to native JavaScript from jQuery (8)...

Closed Masami Suzuki requested to merge issue/cloud-3399270:3399270-migrate-native-js into 6.x
Files
6
+ 2
2
@@ -96,8 +96,8 @@
@@ -96,8 +96,8 @@
rect.setAttribute('height', bbox.height);
rect.setAttribute('height', bbox.height);
rect.setAttribute('fill', bgColor);
rect.setAttribute('fill', bgColor);
rect.style.opacity = '0.8';
rect.style.opacity = '0.8';
if (g) {
if (g && g[0] && title && title[0]) {
g.insertBefore(rect, item.selector + ' svg text');
g[0].insertBefore(rect, title[0]);
}
}
document.querySelector(item.selector).style.marginBottom = '0';
document.querySelector(item.selector).style.marginBottom = '0';
Loading