Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Commit

Permalink
fix(style card): stop propagation on install button click
Browse files Browse the repository at this point in the history
  • Loading branch information
VChet committed May 11, 2021
1 parent 3259f9e commit c613096
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion client/src/components/StyleCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@
@error="useOriginalUrl"
/>
<img v-else class="no-image invert" src="@/images/no-image.png" alt="No preview" />
<a class="button style-button-filled" type="button" :href="styleData.usercss" rel="noopener" target="_blank">
<a
class="button style-button-filled"
type="button"
:href="styleData.usercss"
rel="noopener"
target="_blank"
@click.stop
>
Install
</a>
</template>
Expand Down

0 comments on commit c613096

Please sign in to comment.