diff options
author | Filipp Lepalaan <f@230.to> | 2014-02-14 12:28:10 +0200 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2014-02-14 12:28:10 +0200 |
commit | 3d7b685ac9753f0304f5384120909731a8902c65 (patch) | |
tree | f22ccc6a40f66a935809b3f4a83783a2c1a1af89 /index.html | |
parent | b8bbae01544acce8c1e18d612dfb966170c6cfdc (diff) | |
download | intercheck-3d7b685ac9753f0304f5384120909731a8902c65.tar.gz intercheck-3d7b685ac9753f0304f5384120909731a8902c65.tar.bz2 intercheck-3d7b685ac9753f0304f5384120909731a8902c65.zip |
This is dumb
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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> |