Skip to content

Commit

Permalink
Merge pull request #1 from solrevdev/patch-1
Browse files Browse the repository at this point in the history
Replace placeholder alt text with bound title
  • Loading branch information
w3cj committed Mar 7, 2019
2 parents ecbfeaa + 8bcf61e commit 98a34c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reddit-clone/src/components/Posts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="hello mt-3">
<ul class="list-unstyled">
<li v-for="post in posts" class="media m-3">
<img class="mr-3" :src="post.data.thumbnail" alt="Generic placeholder image">
<img class="mr-3" :src="post.data.thumbnail" :alt="post.data.title">
<div class="media-body">
<h5 class="mt-0 mb-1"><a :href="createUrl(post.data.permalink)" target="_blank">{{post.data.title}}</a></h5>
<p>
Expand Down

0 comments on commit 98a34c0

Please sign in to comment.