mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
add/remove semicolons
This commit is contained in:
parent
49409241bc
commit
df993f977c
@ -12,10 +12,10 @@ export default function addSVGAccessibilityFields(yy_parser, svg, id) {
|
|||||||
if (typeof svg.insert == 'undefined') {
|
if (typeof svg.insert == 'undefined') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let title_string = ''
|
let title_string = '';
|
||||||
if (yy_parser.getTitle !== undefined) {
|
if (yy_parser.getTitle !== undefined) {
|
||||||
title_string = yy_parser.getTitle();
|
title_string = yy_parser.getTitle();
|
||||||
};
|
}
|
||||||
let description = yy_parser.getAccDescription();
|
let description = yy_parser.getAccDescription();
|
||||||
svg.attr('role', 'img').attr('aria-labelledby', 'chart-title-' + id + ' chart-desc-' + id);
|
svg.attr('role', 'img').attr('aria-labelledby', 'chart-title-' + id + ' chart-desc-' + id);
|
||||||
svg
|
svg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user