summaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/index.html b/index.html
index 5a8b1b6..d906c81 100644
--- a/index.html
+++ b/index.html
@@ -10,12 +10,13 @@
e.preventDefault();
var args = $('.prompt').val();
$('.prompt').val('');
- $.getJSON('scan/', {'cmd': args}, function(r){
- $(r.results).each(function(i, e){
- $('<li/>').text(e.raw).appendTo('.output');
+ $.getJSON('scan/', {'cmd': args},
+ function(r){
+ $(r.results).each(function(i, e){
+ $('<li/>').text(e.raw).appendTo('.output');
+ });
+ $('<li/>').addClass('divider').appendTo('.output');
});
- $('<li/>').addClass('divider').appendTo('.output');
- });
});
});
</script>