We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 921dba6 commit bc17cfdCopy full SHA for bc17cfd
1 file changed
src/core/core.ts
@@ -72,8 +72,6 @@ function getTargetElement(this: ScrollToSmooth, el: Element): Element | null {
72
if (this.settings.topOnEmptyHash && targetSelector == '#') {
73
return this.container as Element;
74
}
75
-
76
- console.log(targetSelector, validateSelector(targetSelector, this.container));
77
78
return ( validateSelector(targetSelector, this.container) ) ? _$(targetSelector, this.container as HTMLElement) : null;
79
0 commit comments