From 02c3d525e4712f8c0d9a938a099f582483b10d56 Mon Sep 17 00:00:00 2001 From: raylu Date: Mon, 21 Oct 2013 21:58:52 -0700 Subject: touch up styles on kills page --- web/static/js/search.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'web/static/js/search.js') diff --git a/web/static/js/search.js b/web/static/js/search.js index faeb8fe..127291e 100644 --- a/web/static/js/search.js +++ b/web/static/js/search.js @@ -2,10 +2,13 @@ window.addEvent('domready', function() { ykill.api('/search' + document.location.search, function(results) { var corps = $('corps'); results.corporations.each(function(corp) { - corps.grab(new Element('a', { - 'html': corp.corporation_name, - 'href': '/corporation/' + corp.corporation_id, - })); + corps.adopt( + new Element('a', { + 'html': corp.corporation_name, + 'href': '/corporation/' + corp.corporation_id, + }), + new Element('br') + ); }); }); }); -- cgit v1.2.3