Changes

Jump to navigation Jump to search
72 bytes removed ,  02:39, 13 August 2021
no edit summary
Line 22: Line 22:     
$('#wagon-configurator-list li').click(function(){
 
$('#wagon-configurator-list li').click(function(){
if( $('#wagon-configurator-list li.selected').length > 0){
+
if( $(this).hasClass('selected'){
 
$(this).removeClass('selected');
 
$(this).removeClass('selected');
$(this).siblings().removeClass('selected');
   
} else {
 
} else {
 
$(this).addClass('selected');
 
$(this).addClass('selected');

Navigation menu