Skip to content

Commit

Permalink
Don't insert parts when log is not inDOM
Browse files Browse the repository at this point in the history
  • Loading branch information
drogus committed Aug 18, 2015
1 parent 86cd0f8 commit eec3781
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/components/log-content.coffee
Expand Up @@ -108,6 +108,8 @@ LogContentComponent = Ember.Component.extend

partsDidChange: (parts, start, _, added) ->
console.log 'log view: parts did change' if Log.DEBUG
return unless @get('state') == 'inDOM'

for part, i in parts.slice(start, start + added)
# console.log "limit in log view: #{@get('limited')}"
break if @engine?.limit?.limited
Expand Down

0 comments on commit eec3781

Please sign in to comment.