Skip to content

Commit

Permalink
remove nav elements for one-slide carousels
Browse files Browse the repository at this point in the history
  • Loading branch information
ajdinstel committed Nov 17, 2015
1 parent 407029d commit f98dd2b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@
$pagingGoToPrev.removeClass('active');
$pagingGoToNext.removeClass('active');

$pagingGoToNext.remove();
$pagingGoToPrev.remove();
$pagingDots.remove();

$slideBody.css({
'-webkit-transition': 'initial',
'transition': 'initial',
Expand Down

0 comments on commit f98dd2b

Please sign in to comment.