Zhaowenxue (Talk | contribs) |
|||
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 != '') { | ||
$span.append('<div class="alt">' + alt + '</div>'); | $span.append('<div class="alt">' + alt + '</div>'); | ||
− | + | } | |
}); | }); | ||
new MODALit({ | new MODALit({ |
Revision as of 13:51, 17 October 2018