Skip to content

Commit

Permalink
Bugfix remove multiple delivery infos on product list
Browse files Browse the repository at this point in the history
  • Loading branch information
gurkcity committed Feb 14, 2015
1 parent a4aa49f commit 71f8064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eu_legal/views/js/legal.js
Expand Up @@ -176,7 +176,7 @@ function displayLegal(view)
}
/* add delivery-info after right-block availability */
var deliveryinfo = $(element).find('.delivery-info').html();
if (deliveryinfo != null) {
if($(element).find('.right-block .delivery-info').length <= 0 && deliveryinfo != null) {
$(element).find('.availability').after('<span class="delivery-info eu-legal">'+deliveryinfo+'</span>');
}

Expand Down

0 comments on commit 71f8064

Please sign in to comment.