From 51cdfee0b350955d9f858adb892f18b2a4fa8ab4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 22 Nov 2010 06:40:28 +0100 Subject: [PATCH] Use a comma to separate the identities in the tooltips. --- src/main/java/net/pterodactylus/sone/template/CollectionAccessor.java | 2 +- src/main/resources/static/javascript/sone.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/pterodactylus/sone/template/CollectionAccessor.java b/src/main/java/net/pterodactylus/sone/template/CollectionAccessor.java index 2b91592..10e3ea3 100644 --- a/src/main/java/net/pterodactylus/sone/template/CollectionAccessor.java +++ b/src/main/java/net/pterodactylus/sone/template/CollectionAccessor.java @@ -61,7 +61,7 @@ public class CollectionAccessor extends ReflectionAccessor { StringBuilder soneNames = new StringBuilder(); for (Sone sone : sones) { if (soneNames.length() > 0) { - soneNames.append('\n'); + soneNames.append(", "); } soneNames.append(SoneAccessor.getNiceName(sone)); } diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index b8be6b3..149520f 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -282,7 +282,7 @@ function generateSoneList(sones) { var soneList = ""; $.each(sones, function() { if (soneList != "") { - soneList += "\n"; + soneList += ", "; } soneList += this.name; }); -- 2.7.4