Skip to content

Commit

Permalink
reverted orbit caption change
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Hayes committed Jan 14, 2013
1 parent 51638c0 commit fae7151
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -388,11 +388,12 @@
if ($.trim($(captionLocation).text()).length < 1){
return false;
}
captionHTML = $('#' + captionLocation).html(); //get HTML from the matching HTML entity

// if location selector starts with '#', remove it so we don't see id="#selector"
if (captionLocation.charAt(0) == '#') {
captionLocation = captionLocation.substring(1, captionLocation.length);
}
captionHTML = $('#' + captionLocation).html(); //get HTML from the matching HTML entity
this.$caption
.attr('id', captionLocation) // Add ID caption TODO why is the id being set?
.html(captionHTML); // Change HTML in Caption
Expand Down

0 comments on commit fae7151

Please sign in to comment.