Fixed small bug when swapping shaded Vinyl

This commit is contained in:
Tailszefox 2014-01-28 18:55:04 +01:00
parent 180a41ce16
commit 2b918ed029

View file

@ -208,7 +208,7 @@ else
{ {
$("#to").find("option").removeAttr("disabled"); $("#to").find("option").removeAttr("disabled");
$("#from").find("option").removeAttr("disabled"); $("#from").find("option").removeAttr("disabled");
var nbPonies = $("#from option").size(); var nbPonies = $("#from option").size();
if(which == 0) if(which == 0)
@ -320,10 +320,12 @@ else
if(current == "vinyl") if(current == "vinyl")
{ {
$("#from option[value='vinyl']").val("vinyl2"); $("#from option[value='vinyl']").val("vinyl2");
$("#to option[value='vinyl']").val("vinyl2");
} }
else else
{ {
$("#from option[value='vinyl2']").val("vinyl"); $("#from option[value='vinyl2']").val("vinyl");
$("#to option[value='vinyl']").val("vinyl2");
} }
getNewFusion(); getNewFusion();