This commit is contained in:
parent
18d5d1c09b
commit
c5a0c4884a
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue