|
|
@@ -7,6 +7,14 @@ jQuery( document ).ready(function($) {
|
|
|
$('.navbar-toggler').click();
|
|
|
});
|
|
|
|
|
|
+ $(document).on('click', 'a.scroll-link[href^="#"]', function(e){
|
|
|
+ e.preventDefault();
|
|
|
+
|
|
|
+ $('html, body').animate({
|
|
|
+ scrollTop: $( $.attr(this, 'href') ).offset().top
|
|
|
+ }, 500);
|
|
|
+ });
|
|
|
+
|
|
|
/** TdA Carousel **/
|
|
|
|
|
|
$('.owl-carousel').slick({
|
|
|
@@ -21,12 +29,4 @@ jQuery( document ).ready(function($) {
|
|
|
prevArrow: '<span class="icon-prev" aria-hidden="true"><i class="fa fa-chevron-left" aria-hidden="true"></i></span>',
|
|
|
});
|
|
|
|
|
|
- $(document).on('click', 'a.scroll-link[href^="#"]', function(e){
|
|
|
- e.preventDefault();
|
|
|
-
|
|
|
- $('html, body').animate({
|
|
|
- scrollTop: $( $.attr(this, 'href') ).offset().top
|
|
|
- }, 500);
|
|
|
- });
|
|
|
-
|
|
|
});
|