pull/6/head
halcyon 2015-04-14 21:06:19 +08:00
parent 99293cc019
commit e72e30bc4e
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@
}
$('#search').keyup(function() {
var $rows = $('#groups option');
var $rows = $('#hosts option');
console.log($rows);
var val = $.trim($(this).val()).replace(/ +/g, ' ').toLowerCase();

View File

@ -155,7 +155,7 @@
if (option == 'new') {
tag.append('<p style="margin: 2px">' + escapeString(obj.content) + '</p>');
} else if (option == 'exist') {
tag.append('<p style="margin: 0">' + exsit_message + '</p>');
tag.append('<span style="margin: 0">' + exsit_message + '</span>');
}
tag.animate({ scrollTop: tag[0].scrollHeight}, 1);
});