scroll tweak

This commit is contained in:
Antti Pilto 2016-08-13 20:59:08 +03:00
parent 3dc0efe5eb
commit 5f52f57971

View file

@ -47,6 +47,7 @@ class ShowStage extends Component {
if(this.props.stage<=4) if(this.props.stage<=4)
this.timeoutID = setTimeout(this.removeStage, 1500); // how soon we start fading out (1500) this.timeoutID = setTimeout(this.removeStage, 1500); // how soon we start fading out (1500)
this.showStage(); this.showStage();
window.scrollTo(0,0);
} }
componentWillUnmount() { componentWillUnmount() {