From 63e957d7e7e314fdd8787725c5e841dfcbadc8c3 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Tue, 10 Apr 2012 18:50:18 -0400 Subject: [PATCH] Fix small regression in behavior on plugin CSS (issue 315) --- plugins/legend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/legend.js b/plugins/legend.js index 9e4650e..09ed2a0 100644 --- a/plugins/legend.js +++ b/plugins/legend.js @@ -59,7 +59,7 @@ legend.prototype.activate = function(g, r) { "zIndex": 10, "width": divWidth + "px", "top": "0px", - "right": "2px", + "left": (g.size().width - divWidth - 2) + "px", "background": "white", "lineHeight": "normal", "textAlign": "left", -- 2.7.4