This commit is contained in:
syuilo 2017-11-18 08:10:48 +09:00
parent cacf71d341
commit 153aefe0c5
1 changed files with 1 additions and 1 deletions

View File

@ -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);