From: Dan Vanderkam Date: Wed, 27 Jul 2011 07:25:22 +0000 (-0400) Subject: set class on labelsDiv X-Git-Tag: v1.0.0~437 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=02d8dc649868484beb7403d7205041ec09a304ee;p=dygraphs.git set class on labelsDiv --- diff --git a/dygraph.js b/dygraph.js index dcc555c..ca396e1 100644 --- a/dygraph.js +++ b/dygraph.js @@ -783,6 +783,7 @@ Dygraph.prototype.createStatusMessage_ = function() { "overflow": "hidden"}; Dygraph.update(messagestyle, this.attr_('labelsDivStyles')); var div = document.createElement("div"); + div.className = "dygraph-legend"; for (var name in messagestyle) { if (messagestyle.hasOwnProperty(name)) { div.style[name] = messagestyle[name];