Difference between revisions of "Template:SKLMT-China/footer"

Line 338: Line 338:
 
var alt=$(this).attr("alt");
 
var alt=$(this).attr("alt");
 
var $span = $(this).parent("span");
 
var $span = $(this).parent("span");
if(alt != undefined && alt!="")
+
if(alt != undefined)
 +
{
 +
if(alt != "")
 
{
 
{
 
$span.append('<div class="alt">' + alt + '</div>');
 
$span.append('<div class="alt">' + alt + '</div>');
 +
}
 
}
 
}
  

Revision as of 17:53, 17 October 2018