Skip to content

Commit eef3e16

Browse files
maurerleskorpy2009
authored andcommitted
correctly apply hw-img class to img tag
1 parent 486ebff commit eef3e16

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/utils/helper.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ export const showDevicePicture = function showDevicePicture(pictures: string, su
168168
}
169169

170170
return h("img", {
171-
props: { src: listReplace(pictures, subst), class: "hw-img" },
171+
props: { src: listReplace(pictures, subst) },
172+
class: { "hw-img": true },
172173
on: {
173174
// hide non-existent images
174175
error: function (e: any) {

0 commit comments

Comments
 (0)