From 0a1518defe0df10b7568c15871846075142b32d4 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 25 Mar 2017 14:30:54 +0100 Subject: make found/not found prettier --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.html') 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( $("
  • ") - .text("(found)") + .text(name + ": found") .css("color", "black") ); /* subscribe to socket notifications */ @@ -49,7 +49,7 @@ }).fail(function() { $("#updates").append( $("
  • ") - .text("(not found)") + .text(name + ": not found") .css("color", "red") ); }); -- cgit v1.3.1