In the creation of #2327399: Bootstrap Carousel image field formatter, the img-responsive class is added manually to each carousel's image (to ensure it never overflows, regardless if the theme setting is disabled).

Thus, this class is added twice if it is.

Solution: create a helper function to add classes in preprocess functions and ensure uniqueness.

Comments

  • Mark Carver committed df03592 on 7.x-3.x
    Issue #2327547 by Mark Carver: Fixed img-responsive class is added twice...
markhalliwell’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.