aboutsummaryrefslogtreecommitdiff
path: root/src/components/emoji_input/emoji_input.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2023-11-27 13:48:43 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2023-11-27 13:48:43 +0000
commit83acbf953a4f50a017e3e857ecbd0b008f0b3be0 (patch)
tree127a0bb3482fce953c2e53eddb99f7014df0ae0c /src/components/emoji_input/emoji_input.js
parentb6accf9e7f7ef5f23cbf8bac57e54cefa0db4620 (diff)
parent6c78b59c99e91c4d7b5002725863706d97a7bc29 (diff)
Merge branch 'release/2.6.x' into 'master'
merge 2.6.x to master since 2.6.1 release See merge request pleroma/pleroma-fe!1874
Diffstat (limited to 'src/components/emoji_input/emoji_input.js')
-rw-r--r--src/components/emoji_input/emoji_input.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/emoji_input/emoji_input.js b/src/components/emoji_input/emoji_input.js
index 68654f69..9baf63f2 100644
--- a/src/components/emoji_input/emoji_input.js
+++ b/src/components/emoji_input/emoji_input.js
@@ -1,4 +1,5 @@
import Completion from '../../services/completion/completion.js'
+import genRandomSeed from '../../services/random_seed/random_seed.service.js'
import EmojiPicker from '../emoji_picker/emoji_picker.vue'
import Popover from 'src/components/popover/popover.vue'
import ScreenReaderNotice from 'src/components/screen_reader_notice/screen_reader_notice.vue'
@@ -110,7 +111,7 @@ const EmojiInput = {
},
data () {
return {
- randomSeed: `${Math.random()}`.replace('.', '-'),
+ randomSeed: genRandomSeed(),
input: undefined,
caretEl: undefined,
highlighted: -1,