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