     calendarWeeks = calendarDuration.split(1, 'week')
     {calendarDuration, calendarWeeks}
 
-  handleClick: (dayMoment, mouseEvent) ->
+  handleDayClick: (dayMoment, mouseEvent) ->
     @refs.addOnDay.updateState(dayMoment, mouseEvent.pageX, mouseEvent.pageY)
     @setState({
       activeAddDate: dayMoment

      ".course-plan-#{@state.editingPlanId}"
    )

  onHover: (day) ->
    @setState(hoveredDay: day)

  onSidebarToggle: (isOpen) ->

      {
        component: [ 'day' ],
        events:
          onClick: @handleDayClick
          onDragEnter: @onDragHover
      }
    ]

