summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2020-02-07 19:15:12 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2020-02-07 19:15:12 +0900
commit77a778acf1e58edd59fd16fa210ca8b082699497 (patch)
treeefdaa81ecbcbf93c229014deb9763202bb24d109 /src
parentwip docs (diff)
parent非ログイン時にエラーが発生していたのを修正 (#5872) (diff)
downloadmisskey-77a778acf1e58edd59fd16fa210ca8b082699497.tar.gz
misskey-77a778acf1e58edd59fd16fa210ca8b082699497.tar.bz2
misskey-77a778acf1e58edd59fd16fa210ca8b082699497.zip
Merge branch 'develop' of https://github.com/syuilo/misskey into develop
Diffstat (limited to 'src')
-rw-r--r--src/client/app.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/app.vue b/src/client/app.vue
index 35ae6afc91..79873f131f 100644
--- a/src/client/app.vue
+++ b/src/client/app.vue
@@ -248,6 +248,8 @@ export default Vue.extend({
// https://stackoverflow.com/questions/33891709/when-flexbox-items-wrap-in-column-mode-container-does-not-grow-its-width
if (this.enableWidgets) {
setInterval(() => {
+ if (!this.$refs.widgetsEditButton) return;
+
const width = this.$refs.widgetsEditButton.offsetLeft + 300;
this.$refs.widgets.style.width = width + 'px';
}, 1000);