     'tome:cast-spells': 'onCastSpells'
     'god:world-load-progress-changed': 'onWorldLoadProgressChanged'
     'god:new-world-created': 'onNewWorld'
-    'click .cast-options a': 'onCastOptionsClick'
 
   constructor: (options) ->
     super options

    @castButtonGroup = $('.cast-button-group', @$el)
    @castOptions = $('.autocast-delays', @$el)
    @castButton.on 'click', @onCastButtonClick
    # TODO: use a User setting instead of localStorage
    delay = localStorage.getItem 'autocastDelay'
    delay ?= 5000

  destroy: ->
    super()
    @castButton.off 'click', @onCastButtonClick
    @castOptions.find('a').off 'click', @onCastOptionsClick
    @onCastOptionsClick = null
