diff options
Diffstat (limited to 'public/assets/site.js')
| -rw-r--r-- | public/assets/site.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/public/assets/site.js b/public/assets/site.js index f875fee..478cffc 100644 --- a/public/assets/site.js +++ b/public/assets/site.js @@ -51,7 +51,7 @@ function bind(){ var tag = $(this).html() filter_by_tag(tag) }) - var gallery = new Flickity( "#testimonials", { + new Flickity( "#testimonials", { cellSelector: '.testimonial', wrapAround: true, prevNextButtons: false, @@ -60,6 +60,16 @@ function bind(){ draggable: true, autoPlay: 5000, }) + + new Flickity( "#posts", { + cellSelector: '.cell', + wrapAround: true, + prevNextButtons: false, + pageDots: false, + setGallerySize: false, + draggable: true, + autoPlay: 5000, + }) } function build(){ $('.cell').each( function(){ |
