summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-02-15 15:06:15 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-02-15 15:06:15 +0900
commit9d5701f35a14c04ca6be0961137786aaedcf6b34 (patch)
treeca71bebc9a56ec5fd57c3bae6f972d8e20393473 /src
parentIncrease featured limit (diff)
downloadmisskey-9d5701f35a14c04ca6be0961137786aaedcf6b34.tar.gz
misskey-9d5701f35a14c04ca6be0961137786aaedcf6b34.tar.bz2
misskey-9d5701f35a14c04ca6be0961137786aaedcf6b34.zip
Update deck.vue
Diffstat (limited to 'src')
-rw-r--r--src/client/app/desktop/views/deck/deck.vue19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/client/app/desktop/views/deck/deck.vue b/src/client/app/desktop/views/deck/deck.vue
index 5af2075e4a..62ed0a8ce3 100644
--- a/src/client/app/desktop/views/deck/deck.vue
+++ b/src/client/app/desktop/views/deck/deck.vue
@@ -55,17 +55,16 @@ export default Vue.extend({
}
},
- watch: {/*
- temporaryColumn() {
- if (this.temporaryColumn != null) {
- this.$nextTick(() => {
- this.$refs.body.scrollTo({
- left: this.$refs.body.scrollWidth - this.$refs.body.clientWidth,
- behavior: 'smooth'
- });
+ watch: {
+ $route() {
+ if (this.$route.name == 'index') return;
+ this.$nextTick(() => {
+ this.$refs.body.scrollTo({
+ left: this.$refs.body.scrollWidth - this.$refs.body.clientWidth,
+ behavior: 'smooth'
});
- }
- }*/
+ });
+ }
},
provide() {