Skip to content
Snippets Groups Projects
Commit c1318c93 authored by Martin Leblanc's avatar Martin Leblanc Committed by Kevin Paxman
Browse files

ISTWCMS-5650: Coding standards

parent c8095e7a
No related merge requests found
......@@ -308,4 +308,3 @@
}
}
......@@ -40,7 +40,7 @@
var flkty = $carousel.data('flickity');
// Handle keyboard navigation for Flickity pagination dots.
var dots = document.querySelectorAll('.uw-ff .flickity-page-dots .dot');
var dots = document.querySelectorAll('.uw-ff w.flickity-page-dots .dot');
if (!dots.length) {
return;
......@@ -68,11 +68,11 @@
});
});
// previous button
$('.uw-button--previous').on( 'click', function() {
$('.uw-button--previous').on( 'click', function (){
$carousel.flickity('previous');
});
// next
$('.uw-button--next').on( 'click', function() {
$('.uw-button--next').on( 'click', function (){
$carousel.flickity('next');
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment