renamed close button
[brisk.git] / web / briskin5 / briskin5.js
index ad7aec7..bdbf6eb 100644 (file)
@@ -172,7 +172,7 @@ function choose_seed(card)
     $("astalascio").style.visibility = "hidden"; 
     $("chooseed").style.visibility = "visible";
     for (i = 0 ; i < 4 ; i++) {
-       $("seed"+i).src = "img/"+i+""+card+".png";
+       $("seed"+i).setAttribute('data-card-id', '' + i + card);
        seed=$("seed"+i);
        eval("seed.onclick = function () { act_choose("+i+""+card+"); };");
     }
@@ -356,7 +356,7 @@ function act_preferences_update()
     if (preferences.deck != preferences.deck_old) {
         // FIXME: with dynamic text
         x = new notify(gst,'<br/>Per rendere visibile il nuovo mazzo di carte<br/><br/>occorre fare reload della pagina.',
-                       0, "Close", 400, 110);
+                       0, "Chiudi", 400, 110);
     }
     preferences_showhide();
 }