Skip to content

Commit

Permalink
remove forgotten console.log (closes #10)
Browse files Browse the repository at this point in the history
  • Loading branch information
bfiessinger committed May 3, 2021
1 parent 921dba6 commit bc17cfd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ function getTargetElement(this: ScrollToSmooth, el: Element): Element | null {
if (this.settings.topOnEmptyHash && targetSelector == '#') {
return this.container as Element;
}

console.log(targetSelector, validateSelector(targetSelector, this.container));

return ( validateSelector(targetSelector, this.container) ) ? _$(targetSelector, this.container as HTMLElement) : null;

Expand Down

0 comments on commit bc17cfd

Please sign in to comment.