Line 331: | Line 331: | ||
var alt = $(this).attr("alt"); | var alt = $(this).attr("alt"); | ||
var $span = $(this).parent('.image'); | var $span = $(this).parent('.image'); | ||
− | if(alt != undefined | + | if(alt != undefined) { |
$span.append('<div class="alt">' + alt + '</div>'); | $span.append('<div class="alt">' + alt + '</div>'); | ||
} | } |
Revision as of 14:00, 17 October 2018