define([
	"Ember",
	"text!templates/components/modallog.html.hbs"
], function(
	Ember,
	layout
) {

	var scheduleOnce = Ember.run.scheduleOnce;

	return Ember.Component.extend({
		layout: Ember.HTMLBars.compile( layout ),

		tagName: "section",
		classNames: [ "modal-log" ],

		log: function() {
			return [];
		}.property(),

		_logObserver: function() {
			scheduleOnce( "afterRender", this, "scrollToBottom" );
		}.observes( "log.[]" ),

		scrollToBottom: function() {
			var elem = this.element;
			elem.scrollTop = Math.max( 0, elem.scrollHeight - elem.clientHeight );
		}.on( "didInsertElement" )
	});

});

@@ -494,16 +494,44 @@
 lement;%0A
+%09%09%09if ( !elem ) %7B return; %7D%0A
 %09%09%09elem.

Fix scrollToBottom in ModalLogComponent