From: Robert Konigsberg Date: Sun, 8 Jan 2012 02:52:03 +0000 (-0500) Subject: last tweak of awesomeness. X-Git-Tag: v1.0.0~363 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=5bcd4c858f754766fe948dcbca3cf85aa5d58390;p=dygraphs.git last tweak of awesomeness. --- 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;