add/remove semicolons

This commit is contained in:
Tali Herzka 2022-04-08 18:03:31 +00:00 committed by GitHub
parent 49409241bc
commit df993f977c

View File

@ -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