summaryrefslogtreecommitdiff
path: root/src/web/app
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-11-18 08:10:48 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-11-18 08:10:48 +0900
commit153aefe0c55983aa8b254c6d660ec0585eeb3f7e (patch)
treeecf1549481689289a1e7480429af1f742b9232c1 /src/web/app
parentWidgets is now follow scroll (diff)
downloadmisskey-153aefe0c55983aa8b254c6d660ec0585eeb3f7e.tar.gz
misskey-153aefe0c55983aa8b254c6d660ec0585eeb3f7e.tar.bz2
misskey-153aefe0c55983aa8b254c6d660ec0585eeb3f7e.zip
Fix bug
Diffstat (limited to 'src/web/app')
-rw-r--r--src/web/app/desktop/tags/home.tag2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/desktop/tags/home.tag b/src/web/app/desktop/tags/home.tag
index f22081f31a..7a23ad242e 100644
--- a/src/web/app/desktop/tags/home.tag
+++ b/src/web/app/desktop/tags/home.tag
@@ -242,7 +242,7 @@
}
this.containerTop = this.refs.main.getBoundingClientRect().top;
- this.headerHight = 48;
+ this.headerHight = this.root.getBoundingClientRect().top;
window.addEventListener('scroll', this.followWidgets);
window.addEventListener('resize', this.followWidgets);