Projekt

Allgemein

Profil

GX-Bug #46398 » wrongIMGSocialFix.patch

/templates/Honeygrid/javascript/engine/widgets/social_share.js - Till Tepelmann, 09.05.2016 16:52

Unterschiede anzeigen:

src/templates/Honeygrid/javascript/engine/widgets/social_share.js (revision )
48 48
			// Collect data for the backend
49 49
			dataset.url = location.href;
50 50
			dataset.title = document.title;
51
			dataset.product_image = $('#product_image_swiper .swiper-slide img').first().attr('src');
51
			dataset.product_image = $('.swiper-slide-active img').attr('src');
52 52

  
53 53
			// Get the markup
54 54
			jse.libs.xhr.ajax({url: options.url, data: dataset, dataType: 'html'}).done(function(result) {
    (1-1/1)