Commit 153eaf0a authored by Laurent Wouters's avatar Laurent Wouters
Browse files

Refactoring the extension

parent a412e4af3442
......@@ -36,7 +36,7 @@
<div v-for="uri in person.works" v-bind:key="uri" class="card">
<div className="card-body">
<span>Work: </span>
<a v-on:click="() => context.event.onRequestNavigateTo(uri)" href="uri">{{uri}}</a>
<a v-on:click="(event) => {event.preventDefault(); context.event.onRequestNavigateTo(uri);}" :href=uri>{{uri}}</a>
</div>
</div>
<hr/>
......@@ -44,7 +44,7 @@
<div v-for="uri in person.influenced" v-bind:key="uri" class="card">
<div className="card-body">
<span>Influenced: </span>
<a v-on:click="() => context.event.onRequestNavigateTo(uri)" href="uri">{{uri}}</a>
<a v-on:click="(event) => {event.preventDefault(); context.event.onRequestNavigateTo(uri);}" :href=uri>{{uri}}</a>
</div>
</div>
<hr/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment