Skip to content

Commit 5e58de8

Browse files
committed
GraphQL demo: Fixed wrong attribute
1 parent 87a6f28 commit 5e58de8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/demos/movies/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ <h1 style="display: inline; margin-right: 20px;">Movie Browser</h1>
222222
if (movie.depiction) {
223223
const movieImage = document.createElement('img');
224224
movieImage.src = movie.depiction;
225-
movieImage.class = "thumbnail";
225+
movieImage.className = "thumbnail";
226226
movieCard.appendChild(movieImage);
227227
}
228228

0 commit comments

Comments
 (0)