summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-03-25 14:30:54 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2017-03-25 14:30:54 +0100
commit0a1518defe0df10b7568c15871846075142b32d4 (patch)
treeaca59344df16ea7646392b334a0550644ae60b70
parentf82096ce86b9532c1e0abe35a691db14e93a798e (diff)
downloadbridge-0a1518defe0df10b7568c15871846075142b32d4.tar.gz
bridge-0a1518defe0df10b7568c15871846075142b32d4.zip
make found/not found prettier
-rw-r--r--index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.html b/index.html
index b97d287..9caa10f 100644
--- a/index.html
+++ b/index.html
@@ -19,7 +19,7 @@
$.get("/api/player/name/" + name).done(function() {
$("#updates").append(
$("<li>")
- .text("(found)")
+ .text(name + ": found")
.css("color", "black")
);
/* subscribe to socket notifications */
@@ -49,7 +49,7 @@
}).fail(function() {
$("#updates").append(
$("<li>")
- .text("(not found)")
+ .text(name + ": not found")
.css("color", "red")
);
});