This commit is contained in:
syuilo 2017-11-18 08:10:48 +09:00
parent cacf71d341
commit 153aefe0c5

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