fix: replace jQuery with vanilla JS scrollIntoView
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<button
|
<button
|
||||||
class="nav-cta"
|
class="nav-cta"
|
||||||
onclick="$('html').animate({ scrollTop: $('#kontakt').offset().top }, 700)"
|
onclick="document.getElementById('kontakt').scrollIntoView({behavior:'smooth'})"
|
||||||
>
|
>
|
||||||
Jetzt anfragen
|
Jetzt anfragen
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user