Fix lightbox comments
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user