Skip to content

Commit

Permalink
fix(md-carousel-item): remove image if there is now image, #299
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanood committed Oct 24, 2016
1 parent c5c42a4 commit 501f3e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/carousel/carousel-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<a if.bind="mdHref" href.bind="mdHref">
<img if.bind="mdImage" src.bind="mdImage" />
</a>
<img if.bind="!mdHref" src.bind="mdImage" />
<img if.bind="!mdHref && mdImage" src.bind="mdImage" />
<slot></slot>
</template>

0 comments on commit 501f3e8

Please sign in to comment.