This commit is contained in:
Shpuld Shpuldson 2017-06-07 18:13:24 +03:00
parent f915ae174d
commit dcd7d52eb5
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ const conversation = {
preview: { preview: {
x: 0, x: 0,
y: 0, y: 0,
status status: null
} }
} }
}, },

View file

@ -104,7 +104,7 @@ const Status = {
replyEnter (id, event) { replyEnter (id, event) {
if (this.$store.state.config.hoverPreview) { if (this.$store.state.config.hoverPreview) {
let rect = event.target.getBoundingClientRect() let rect = event.target.getBoundingClientRect()
this.$emit('preview', Number(id), rect.left + 20, rect.top + 20 + window.pageYOffset); this.$emit('preview', Number(id), rect.left + 20, rect.top + 20 + window.pageYOffset)
} }
}, },
replyLeave () { replyLeave () {