zurb/foundation — pull request #1252 by mattnworb (2012-12-04 02:57:19+00:00)
Title: remove leading '#' from captionLocation in foundation.orbit.js

If the caption for an orbit slider is set like

data-caption="#someDiv"

Then line 392 sets the `id` attribute of the element containing the caption to `#someDiv`.

This patch removes the leading `#` in the selector if it exists before applying it to the `id` attribute, so that any CSS rules designed to target a specific caption for a specific slider frame can work.