Browse Source

on new game clean okey

Maxim Sokhatsky 11 years ago
parent
commit
6c7ea413dd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      apps/web/priv/static/app/js/okey/okey.js

+ 2 - 0
apps/web/priv/static/app/js/okey/okey.js

@@ -360,6 +360,8 @@ function initOkeyScene(x)
     $wholeCards.empty();
     $wholeCards.empty();
     $wholeCards.append($fullWholeCards);
     $wholeCards.append($fullWholeCards);
 
 
+    $("#Okey").find("rect").attr("fill","#517ECE");
+
     if (null != x.pile_height && "null" != x.pile_height) {
     if (null != x.pile_height && "null" != x.pile_height) {
         $("#Pile-Height")[0].lastElementChild.textContent = x.pile_height;
         $("#Pile-Height")[0].lastElementChild.textContent = x.pile_height;
         reminder(x.pile_height);
         reminder(x.pile_height);