Line 33:
Line 33:
var wagonConfiguratorList = $('#wagon-configurator-list li.selected')[0].classList[0];
var wagonConfiguratorList = $('#wagon-configurator-list li.selected')[0].classList[0];
window['wagonConfiguratorList'] = wagonConfiguratorList;
window['wagonConfiguratorList'] = wagonConfiguratorList;
−
$(this).css("background-image", "url(${myList})");
+
$(this).css("background-image", "url(${wagonConfiguratorList})");
alert("You selected " + wagonConfiguratorList);
alert("You selected " + wagonConfiguratorList);
});
});
});
});