edit: intégration video mastodon + bug fix liens
This commit is contained in:
@@ -15,13 +15,13 @@
|
||||
{{selectedLink.caption}}
|
||||
</p>
|
||||
<!-- touchstart.capture pour passer en prio sur déplacement fenêtre/ .stop si pas de method-->
|
||||
<button type="button" class="closeBtn" @mousedown.capture="$emit('close')" @touchstart.capture="$emit('close')" data-tooltip="fermer">
|
||||
<button type="button" class="closeBtn" @mousedown.capture="$emit('close')" @touchstart.stop="$emit('close')" data-tooltip="fermer">
|
||||
<CloseIcon name="close" class="icon"/>
|
||||
</button>
|
||||
</div>
|
||||
<div class="windowContent" id="linkContent">
|
||||
<p id="linkTextStyle">{{selectedLink.description}}</p>
|
||||
<a class="textBtnStyle" v-for="item in selectedLink.linksData" :href="item.url" target="_blank">{{item.caption}}</a>
|
||||
<a class="textBtnStyle" v-for="item in selectedLink.linksData" :href="item.url" target="_blank" @mousedown.stop @touchstart.stop>{{item.caption}}</a>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -104,6 +104,7 @@
|
||||
emits: ['close','focus'],
|
||||
computed: {
|
||||
selectedLink(){
|
||||
console.log(this.selectedLink);
|
||||
return dataStorage.selectedLink
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user