×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Eric De Kock
Added: Dec 21, 2016 10:50 PM
Views: 6
Tags: no tags
  1.   jQuery('.carousel-inner').each(function() {
  2.  
  3.     if (jQuery(this).children('.item').length === 1) jQuery('.carousel-control, .carousel-indicators').hide();
  4.  
  5. });