summaryrefslogtreecommitdiffstats
path: root/web/static/js/search.js
diff options
context:
space:
mode:
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')
+ );
});
});
});