Remove useless debug console logging
This commit is contained in:
parent
99e9b54376
commit
afc584abf1
@ -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
Loading…
Reference in New Issue
Block a user