app/views/script/index.erb in tailog-0.3.1 vs app/views/script/index.erb in tailog-0.3.2
- old
+ new
@@ -19,9 +19,10 @@
$('#script').ajaxForm(function(json) {
try {
var data = JSON.parse(json);
$content
.html('<hr>')
+ .append('<span class="text-info">' + data.server_hostname + '</span>')
.append(data.content);
} catch (error) {
console.log(error)
}
});