diff options
Diffstat (limited to 'web_src/js')
-rw-r--r-- | web_src/js/svg.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/svg.js b/web_src/js/svg.js index 471b5136bd..6ad06f599d 100644 --- a/web_src/js/svg.js +++ b/web_src/js/svg.js @@ -205,7 +205,7 @@ export const SvgIcon = { // make the <SvgIcon class="foo" class-name="bar"> classes work together const classes = []; - for (const cls of svgOuter.classList) { + for (const cls of svgOuter.classList.values()) { classes.push(cls); } // TODO: drop the `className/class-name` prop in the future, only use "class" prop |