           Backbone.Mediator.publish 'tome:manual-cast', {realTime: true}
     else
       Backbone.Mediator.publish 'tome:manual-cast', {realTime: true}
-
-  onCastOptionsClick: (e) =>
-    Backbone.Mediator.publish 'tome:focus-editor', {}
-    @castButtonGroup.removeClass 'open'
-    @setAutocastDelay $(e.target).attr 'data-delay'
-    false
 
   onSpellChanged: (e) ->
     @updateCastButton()

  setAutocastDelay: (delay) ->
    #console.log 'Set autocast delay to', delay
    return unless delay
    @autocastDelay = delay = parseInt delay
    me.set('autocastDelay', delay)
    me.patch()

    @castButton = $('.cast-button', @$el)
    @castButtonGroup = $('.cast-button-group', @$el)
    @castOptions = $('.autocast-delays', @$el)
    #delay = me.get('autocastDelay')  # No more autocast
    delay = 90019001
    @setAutocastDelay delay

  attachTo: (spellView) ->
