Skip to content

Commit

Permalink
fix(navbar): Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gupta-utkarsh committed Aug 6, 2017
1 parent 3e22f16 commit ad629ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/navbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class Navbar extends Component {
handleScroll(event) {
let isOnTop =
(window.pageYOffset ||
document.documentElement.scrollTop ||
document.body.scrollTop) === 0;
document.documentElement.scrollTop ||
document.body.scrollTop) === 0;
this.setState({ isOnTop });
}

Expand Down

0 comments on commit ad629ca

Please sign in to comment.