Changes

Jump to navigation Jump to search
24 bytes removed ,  10:06, 3 August 2021
no edit summary
Line 18: Line 18:  
wagonConfiguratorList = $('#wagon-configurator-list li.selected')[0].classList[0];
 
wagonConfiguratorList = $('#wagon-configurator-list li.selected')[0].classList[0];
 
window['wagonConfiguratorList'] = wagonConfiguratorList;
 
window['wagonConfiguratorList'] = wagonConfiguratorList;
$(this).css("background-size: cover; background-image", 'url(' + wagonImages[wagonConfiguratorList] + ')');
+
$(this).css("background-image", 'url(' + wagonImages[wagonConfiguratorList] + ')');
 
alert("You selected " + wagonConfiguratorList);
 
alert("You selected " + wagonConfiguratorList);
 
});
 
});
 
});
 
});

Navigation menu