diff options
| author | eugenijm <eugenijm@protonmail.com> | 2019-05-07 22:32:47 +0300 |
|---|---|---|
| committer | eugenijm <eugenijm@protonmail.com> | 2019-05-08 16:50:39 +0300 |
| commit | a89010843deb67f8c03e72ab8681b1de54b3259b (patch) | |
| tree | 52a3995f3d89b4554834c180cc6cfd8580efc657 /src/components/mobile_post_status_modal | |
| parent | 4af343374af30d781dd6b7a5298928339f6a425d (diff) | |
Use more clear explanation in the scope notice, make sure the hide button doesn't overlap with text in notice.
Diffstat (limited to 'src/components/mobile_post_status_modal')
| -rw-r--r-- | src/components/mobile_post_status_modal/mobile_post_status_modal.js | 6 | ||||
| -rw-r--r-- | src/components/mobile_post_status_modal/mobile_post_status_modal.vue | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/components/mobile_post_status_modal/mobile_post_status_modal.js b/src/components/mobile_post_status_modal/mobile_post_status_modal.js index eb665b8d..2f24dd08 100644 --- a/src/components/mobile_post_status_modal/mobile_post_status_modal.js +++ b/src/components/mobile_post_status_modal/mobile_post_status_modal.js @@ -12,8 +12,7 @@ const MobilePostStatusModal = { scrollingDown: false, inputActive: false, oldScrollPos: 0, - amountScrolled: 0, - visibility: this.$store.state.users.currentUser.default_scope + amountScrolled: 0 } }, created () { @@ -33,9 +32,6 @@ const MobilePostStatusModal = { } }, methods: { - onScopeChange (visibility) { - this.visibility = visibility - }, openPostForm () { this.postFormOpen = true this.hidden = true diff --git a/src/components/mobile_post_status_modal/mobile_post_status_modal.vue b/src/components/mobile_post_status_modal/mobile_post_status_modal.vue index c3cc5155..c762705b 100644 --- a/src/components/mobile_post_status_modal/mobile_post_status_modal.vue +++ b/src/components/mobile_post_status_modal/mobile_post_status_modal.vue @@ -7,7 +7,7 @@ > <div class="post-form-modal-panel panel" @click.stop=""> <div class="panel-heading">{{$t('post_status.new_status')}}</div> - <PostStatusForm class="panel-body" @posted="closePostForm" @onScopeChange="onScopeChange" /> + <PostStatusForm class="panel-body" @posted="closePostForm" /> </div> </div> <button |
