Apply suggestion to src/components/emoji_picker/emoji_picker.js

This commit is contained in:
HJ 2019-09-09 19:42:33 +00:00
parent 9146bee7aa
commit 9651293956

View file

@ -65,7 +65,6 @@ const EmojiPicker = {
setZoomEmoji (e, emoji) {
this.zoomEmoji = emoji
const { x, y } = e.target.getBoundingClientRect()
console.log(e.target)
this.$refs['zoom-portal'].style.left = (x - 32) + 'px'
this.$refs['zoom-portal'].style.top = (y - 32) + 'px'
}