This commit is contained in:
Liang Ding 2015-01-14 11:13:27 +08:00
parent 18d5d1c09b
commit c5a0c4884a
1 changed files with 3 additions and 3 deletions

View File

@ -74,13 +74,13 @@ var bottomGroup = {
},
fillOutput: function (data) {
var $output = $('.bottom-window-group .output');
data = data.replace(/\n/g, '<br/>');
if (-1 !== data.indexOf("<br/>")) {
data = Autolinker.link(data);
}
$output.find("div").html(data);
$output.parent().scrollTop($output[0].scrollHeight);
}