From 5bcd4c858f754766fe948dcbca3cf85aa5d58390 Mon Sep 17 00:00:00 2001 From: Robert Konigsberg Date: Sat, 7 Jan 2012 21:52:03 -0500 Subject: [PATCH] last tweak of awesomeness. --- experimental/palette/palette.css | 5 ++++- experimental/palette/palette.js | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/experimental/palette/palette.css b/experimental/palette/palette.css index f0f953f..4cbcc54 100644 --- a/experimental/palette/palette.css +++ b/experimental/palette/palette.css @@ -22,7 +22,10 @@ } .palette .name { - +} + +.palette .name:after { + content: ":"; } .palette .option { diff --git a/experimental/palette/palette.js b/experimental/palette/palette.js index cb6a03f..598a163 100644 --- a/experimental/palette/palette.js +++ b/experimental/palette/palette.js @@ -55,7 +55,7 @@ function Tooltip(parent) { Tooltip.prototype.show = function(source, event, title, type, body) { this.title.innerHTML = title; this.body.innerHTML = body; - this.type.innerHTML = type; + this.type.innerText = type; // innerText for arrays. var getTopLeft = function(element) { var x = element.offsetLeft; -- 2.7.4