summaryrefslogtreecommitdiffstats
path: root/web/static/js/search.js
diff options
context:
space:
mode:
authorraylu <raylu@gridium.com>2013-10-21 21:58:52 -0700
committerraylu <raylu@gridium.com>2013-10-21 22:05:19 -0700
commit02c3d525e4712f8c0d9a938a099f582483b10d56 (patch)
treeb1e35899ce6abe8d08171e7450b7eed05c1dd4b5 /web/static/js/search.js
parent5849a1738cf4fb36b1b6b5c9a22c516c132088d5 (diff)
downloadykill-02c3d525e4712f8c0d9a938a099f582483b10d56.tar.xz
touch up styles on kills page
Diffstat (limited to 'web/static/js/search.js')
-rw-r--r--web/static/js/search.js11
1 files changed, 7 insertions, 4 deletions
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')
+ );
});
});
});