 
 BoardDom = React.createClass
 
+  componentWillMount: ->
+    @initOnClicks()
+    return
+
   render: ->
     # boardState is the complete state to show, with the newly proposed
     # stone included if there is one.  lastPlayed is only used to locate

                (div {
                  key: i
                  className: "gopoint row-#{j} col-#{i}"
                  onClick: onClickForPos(i, j)},
                    (@boardPointDomForPos i, j),
                    (@stoneDomForPos i, j))


    {size} = @props
    {div} = React.DOM

    div {className: 'goban'},
        for j in [0...size]
          div {key: j, className: 'goban-row'},
