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() {
|
handleScroll: function() {
|
||||||
this.setState({
|
this.setState({
|
||||||
isScrolled: event.srcElement.body.scrollTop > 0
|
isScrolled: document.body.scrollTop > 0
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
onQueryChange: function(event) {
|
onQueryChange: function(event) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue