master
annasandri 4 years ago
parent 9dbca527b8
commit 572973ccf9

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

Loading…
Cancel
Save