Remove useless debug console logging

This commit is contained in:
Lucas Verney 2016-09-18 21:52:48 +02:00
parent 99e9b54376
commit afc584abf1
4 changed files with 18 additions and 20 deletions

View File

@ -40,8 +40,6 @@ class ArtistCSS extends Component {
// After each update, check if we need to scroll to a given element
// State prevents scrolling at each and every update
if (this.refs.scroll && !this.state.hasScrolled) {
console.log("scroll!");
console.log($(ReactDOM.findDOMNode(this.refs.scroll)).offset().top);
$("html, body").animate({ scrollTop: $(ReactDOM.findDOMNode(this.refs.scroll)).offset().top }, 600);
this.setState({
hasScrolled: true,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long