summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-06-12 02:18:29 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-06-12 02:18:29 +0900
commit2e680c3d1e0ab3f3beb0aa5d62483267c75d99e3 (patch)
treef8c9c48620f2ac25b4d29b6ab033084db7b2f396 /src/client
parentMerge branch 'master' of https://github.com/syuilo/misskey (diff)
downloadmisskey-2e680c3d1e0ab3f3beb0aa5d62483267c75d99e3.tar.gz
misskey-2e680c3d1e0ab3f3beb0aa5d62483267c75d99e3.tar.bz2
misskey-2e680c3d1e0ab3f3beb0aa5d62483267c75d99e3.zip
Fix bug
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/common/views/widgets/hashtags.chart.vue9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/client/app/common/views/widgets/hashtags.chart.vue b/src/client/app/common/views/widgets/hashtags.chart.vue
index b435188616..723a3947f8 100644
--- a/src/client/app/common/views/widgets/hashtags.chart.vue
+++ b/src/client/app/common/views/widgets/hashtags.chart.vue
@@ -49,7 +49,8 @@ export default Vue.extend({
polylinePoints: '',
polygonPoints: '',
headX: null,
- headY: null
+ headY: null,
+ clock: null
};
},
watch: {
@@ -59,6 +60,12 @@ export default Vue.extend({
},
created() {
this.draw();
+
+ // Vueが何故かWatchを発動させない場合があるので
+ this.clock = setInterval(this.draw, 1000);
+ },
+ beforeDestroy() {
+ clearInterval(this.clock);
},
methods: {
draw() {