diff --git a/src/web/app/desktop/views/components/post-form-window.vue b/src/web/app/desktop/views/components/post-form-window.vue
index 31a07a890..d0b115e85 100644
--- a/src/web/app/desktop/views/components/post-form-window.vue
+++ b/src/web/app/desktop/views/components/post-form-window.vue
@@ -14,7 +14,8 @@
@posted="onPosted"
@change-uploadings="onChangeUploadings"
@change-attached-media="onChangeMedia"
- @geo-attached="onGeoAttached"/>
+ @geo-attached="onGeoAttached"
+ @geo-dettached="onGeoDettached"/>
@@ -45,6 +46,9 @@ export default Vue.extend({
onGeoAttached(geo) {
this.geo = geo;
},
+ onGeoDettached() {
+ this.geo = null;
+ },
onPosted() {
(this.$refs.window as any).close();
}
diff --git a/src/web/app/desktop/views/components/post-form.vue b/src/web/app/desktop/views/components/post-form.vue
index 22ed52b39..42d11709f 100644
--- a/src/web/app/desktop/views/components/post-form.vue
+++ b/src/web/app/desktop/views/components/post-form.vue
@@ -27,7 +27,7 @@
-
+
{{ '%i18n:desktop.tags.mk-post-form.text-remain%'.replace('{}', 1000 - text.length) }}