|
|
|
@ -10,7 +10,14 @@ $(document).ready(function() {
|
|
|
|
|
$("#forniture1").hide();
|
|
|
|
|
$("#child1").show();
|
|
|
|
|
winning();
|
|
|
|
|
if (counter===1) {
|
|
|
|
|
console.log("first click");
|
|
|
|
|
localStorage.child=1;
|
|
|
|
|
localStorage.childImage= $("#child1").attr("src");
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#forniture2").click(function(){
|
|
|
|
|
counter ++;
|
|
|
|
|