Merge branch 'ticket-12563-TrustedBadge' into develop

This commit is contained in:
Marion Muszynski 2017-02-27 15:48:53 +01:00
commit 28f9cd9dc6

View File

@ -7,8 +7,8 @@
'variant': 'custom_reviews', /* text, default, small, reviews, custom, custom_reviews */
'customElementId': 'customCheckoutDiv2', /* required for variants custom and custom_reviews */
'trustcardDirection': '', /* for custom variants: topRight, topLeft, bottomRight, bottomLeft */
'customBadgeWidth': '200', /* for custom variants: 40 - 90 (in pixels) */
'customBadgeHeight': '70', /* for custom variants: 40 - 90 (in pixels) */
'customBadgeWidth': '', /* for custom variants: 40 - 90 (in pixels) */
'customBadgeHeight': '80', /* for custom variants: 40 - 90 (in pixels) */
'disableResponsive': 'false', /* deactivate responsive behaviour */
'disableTrustbadge': 'false', /* deactivate trustbadge */
'customCheckoutElementId': 'customCheckoutDiv'
@ -22,8 +22,10 @@
__ts.parentNode.insertBefore(_ts, __ts);
})();
$(document).ready(function(){
setTimeout(function(){$('#customCheckoutDiv2 div[id^=\'tsbadge_\']').css('width','200px');},1000);
setTimeout(function(){$('#customCheckoutDiv2 div[id^=\'tsCustomBadge\']').css('width','200px');},1000);
setTimeout(function(){
$('#customCheckoutDiv2 div[id^=\'tsbadge_\']').css('width','200px');
$('#customCheckoutDiv2 div[id^=\'tsCustomBadge\']').css('width','200px');
},1200);
});
{/literal}
</script>