aboutsummaryrefslogtreecommitdiff
path: root/src/components/emoji_input/emoji_input.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2020-06-27 07:32:59 +0000
committerShpuld Shpludson <shp@cock.li>2020-06-27 07:32:59 +0000
commitc658f57abbf1409a18a54c6259aa44d429caf080 (patch)
tree6071d580d602fabc5ec63425c7dc349d8d855ac6 /src/components/emoji_input/emoji_input.js
parent8150899a737648cb8c8852fa380c3ff4a98b132f (diff)
parentea0a12f6049241cb9e8fa7cd5bc6dc8b9852b57c (diff)
Merge branch 'iss-149/profile-fields-setting' into 'develop'
Profile fields setting See merge request pleroma/pleroma-fe!997
Diffstat (limited to 'src/components/emoji_input/emoji_input.js')
-rw-r--r--src/components/emoji_input/emoji_input.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/emoji_input/emoji_input.js b/src/components/emoji_input/emoji_input.js
index f4c3479c..7974a66d 100644
--- a/src/components/emoji_input/emoji_input.js
+++ b/src/components/emoji_input/emoji_input.js
@@ -431,6 +431,7 @@ const EmojiInput = {
const offsetBottom = offsetTop + offsetHeight
panel.style.top = offsetBottom + 'px'
+ if (!picker) return
picker.$el.style.top = offsetBottom + 'px'
picker.$el.style.bottom = 'auto'
}