diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-11-12 23:06:14 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-11-12 23:06:14 +0000 |
| commit | 18c0cf1845a95db2d0e894d2455cdd4dc545aaf7 (patch) | |
| tree | dbff6ae08d9a574fa0a970a3bc3cc6e7ca222fc1 /src/components/post_status_form | |
| parent | faef2767cd7ba5961445e9c38e8ebf52d3610259 (diff) | |
| parent | 5ff14837a76fb7b7501ca4603937492e18ceadcf (diff) | |
Merge branch 'tusooa/react-more-actions-fix' into 'develop'
Accessibility for react & extra buttons
See merge request pleroma/pleroma-fe!1869
Diffstat (limited to 'src/components/post_status_form')
| -rw-r--r-- | src/components/post_status_form/post_status_form.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index ba49961d..5564b118 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -1,4 +1,5 @@ import statusPoster from '../../services/status_poster/status_poster.service.js' +import genRandomSeed from '../../services/random_seed/random_seed.service.js' import MediaUpload from '../media_upload/media_upload.vue' import ScopeSelector from '../scope_selector/scope_selector.vue' import EmojiInput from '../emoji_input/emoji_input.vue' @@ -162,7 +163,7 @@ const PostStatusForm = { } return { - randomSeed: `${Math.random()}`.replace('.', '-'), + randomSeed: genRandomSeed(), dropFiles: [], uploadingFiles: false, error: null, |
