remove the warning for no-reference-in-iterator (at least temporarly)

This commit is contained in:
JFH
2020-07-25 19:31:51 +02:00
parent b7fccd59d5
commit db607768a7
6 changed files with 5 additions and 8 deletions

View File

@@ -1220,7 +1220,7 @@ export const getElem = (supportsSelectors())
}
: function (id) {
// jQuery lookup: twice as slow as xpath in FF
return $(svgroot_).find('[id=' + id + ']')[0];
return $(svgroot_).find(`[id=${id}]`)[0];
};
/**