fix cross browser scrolling
This commit is contained in:
parent
abecc5490a
commit
02416f66e5
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ var Header = React.createClass({
|
|||
},
|
||||
handleScroll: function() {
|
||||
this.setState({
|
||||
isScrolled: event.srcElement.body.scrollTop > 0
|
||||
isScrolled: document.body.scrollTop > 0
|
||||
});
|
||||
},
|
||||
onQueryChange: function(event) {
|
||||
|
|
Loading…
Reference in a new issue