Skip to content

Commit

Permalink
#2600 - make span effective
Browse files Browse the repository at this point in the history
  • Loading branch information
abrookbanks committed Mar 28, 2023
1 parent 7e5e5bf commit caf84ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skins/foundation/js/2.cubecart.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ jQuery(document).ready(function() {
product_name = product_name.replace(regexp, function(match) { return '*'+matchCase(split, match)+'*'})
}
);
var image = (sayt.attr("data-image")=='true' && products[k]['thumbnail']!=='') ? "<span><img src=\""+products[k]['thumbnail']+"\" title=\""+products[k]['name']+"\"></span>" : '<span></span>';
var image = (sayt.attr("data-image")=='true' && products[k]['thumbnail']!=='') ? "<span><img src=\""+products[k]['thumbnail']+"\" title=\""+products[k]['name']+"\"></span>" : "<span>&nbsp;</span>";
$("#sayt_results").append("<li><a href='?_a=product&product_id="+products[k]['product_id']+"'>"+image+toBold(product_name)+"</a></li>");
}
} else {
Expand Down

0 comments on commit caf84ee

Please sign in to comment.