Fix lightbox comments

This commit is contained in:
2024-02-11 09:43:22 +01:00
parent abacab8206
commit 8c812f6b0a

View File

@@ -16,11 +16,11 @@ export default {
},
inject: ['spot'],
mounted() {
this.title = '<div>'+
(this.$refs.comment?this.$refs.comment.innerHTML:'')+
this.$refs[this.type=='marker'?'takenon':'postedon'].innerHTML+
this.$refs[this.type=='marker'?'postedon':'takenon'].innerHTML+
'</div>';
this.title =
(this.$refs.comment?this.$refs.comment.outerHTML:'') +
this.$refs[this.type=='marker'?'takenon':'postedon'].outerHTML +
this.$refs[this.type=='marker'?'postedon':'takenon'].outerHTML
;
}
}
</script>