Commit e72e30bc authored by halcyon's avatar halcyon

bug

parent 99293cc0
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
} }
$('#search').keyup(function() { $('#search').keyup(function() {
var $rows = $('#groups option'); var $rows = $('#hosts option');
console.log($rows); console.log($rows);
var val = $.trim($(this).val()).replace(/ +/g, ' ').toLowerCase(); var val = $.trim($(this).val()).replace(/ +/g, ' ').toLowerCase();
......
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
if (option == 'new') { if (option == 'new') {
tag.append('<p style="margin: 2px">' + escapeString(obj.content) + '</p>'); tag.append('<p style="margin: 2px">' + escapeString(obj.content) + '</p>');
} else if (option == 'exist') { } 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); tag.animate({ scrollTop: tag[0].scrollHeight}, 1);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment