Skip to content

Commit

Permalink
Add prevent modifier on the link.
Browse files Browse the repository at this point in the history
  • Loading branch information
francois2metz committed Oct 10, 2024
1 parent bfea9dc commit beaf5b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/marker-popup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<mgl-popup ref="popup">
<h1>Hello</h1>
<p>HTML content</p>
<a href="#" @click="closePopup">Close popup</a>
<a href="#" @click.prevent="closePopup">Close popup</a>
</mgl-popup>
</mgl-marker>
</mgl-map>
Expand Down

0 comments on commit beaf5b2

Please sign in to comment.