Use a comma to separate the identities in the tooltips.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 22 Nov 2010 05:40:28 +0000 (06:40 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 22 Nov 2010 05:40:28 +0000 (06:40 +0100)
src/main/java/net/pterodactylus/sone/template/CollectionAccessor.java
src/main/resources/static/javascript/sone.js

index 2b91592..10e3ea3 100644 (file)
@@ -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));
                        }
index b8be6b3..149520f 100644 (file)
@@ -282,7 +282,7 @@ function generateSoneList(sones) {
        var soneList = "";
        $.each(sones, function() {
                if (soneList != "") {
-                       soneList += "\n";
+                       soneList += "";
                }
                soneList += this.name;
        });