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