kenwheeler/slick — pull request #512 by jimredd (2014-09-10 15:25:29+00:00)
Title: Unset width on destroy & unload, instead of removing style attribute

Fixes #252 with a more conservative approach to unsetting width on destroy and unload.

Removes the inline width by setting it to an empty string, instead of removing all inline styles.

Uses an empty string instead of auto, because an inline auto still overrides widths set elsewhere that should take effect on destroy or unload—for example, a carousel on small screens that becomes a grid on larger screens.