chess/src/main/webapp/pages/index.html
branchchess
changeset 26 b675be28fc49
parent 25 b20104a99a6b
child 30 a46846115b83
     1.1 --- a/chess/src/main/webapp/pages/index.html	Thu Jul 25 16:21:25 2013 +0200
     1.2 +++ b/chess/src/main/webapp/pages/index.html	Thu Jul 25 17:14:55 2013 +0200
     1.3 @@ -60,7 +60,7 @@
     1.4                      <tbody data-bind="foreach: rows">
     1.5                          <tr >
     1.6                              <!-- ko foreach: columns -->
     1.7 -                            <td data-bind="click: changeToPawn, css: squareColor" >
     1.8 +                            <td data-bind="click: $root.selected, css: squareColor" >
     1.9                                  <span data-bind='html: pieceEntity'></span>
    1.10                              </td>
    1.11                              <!-- /ko -->