   ###
   _recalculateHeight: ->
     return if get(@, 'isDestroyed') or get(@, 'isDestroying')
-    @set('_height', if @get('state') is 'inDOM' then +@$().height() else window.innerHeight)
+    @set('_height', if get(@, '_state') is 'inDOM' then +@$().height() else window.innerHeight)
 
   ###
     @private

  ###
  _recalculateWidth: ->
    return if get(@, 'isDestroyed') or get(@, 'isDestroying')
    @set('_width', if @get('state') is 'inDOM' then +@$().width() else window.innerWidth)

  ###
    @private

  ###
  _contentDidChange: Ember.observer ->
    @_super()
    @_rerenderList() if get(@, '_state') is 'inDOM'
  , 'content'

  ###
