From 66782723dcf1aaef7fb04bd54e85d9d98f303ab7 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 16 Oct 2014 20:29:09 -0400 Subject: better default color handling --- termcast_server/index.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'termcast_server') diff --git a/termcast_server/index.html b/termcast_server/index.html index 85de227..6980fa8 100644 --- a/termcast_server/index.html +++ b/termcast_server/index.html @@ -13,6 +13,7 @@ .term table { border-collapse: collapse; + color: #d3d3d3; background-color: black; } @@ -346,9 +347,6 @@ socket.onmessage = function (e) { if (update.cell.fgcolor) { td.style.setProperty('color', colors[update.cell.fgcolor]); } - else { - td.style.setProperty('color', "#FFFFFF"); - } if (update.cell.bgcolor) { td.style.setProperty('background-color', colors[update.cell.bgcolor]); } -- cgit v1.2.3