From 533ebba80b4fca0111f6b3fb466e6e6f891066c6 Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 27 Jun 2011 20:09:02 +0530 Subject: [PATCH] set stroke-dasharray to zero for highlightLine --- radia.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/radia.js b/radia.js index 5e7b389..a020944 100644 --- a/radia.js +++ b/radia.js @@ -229,8 +229,10 @@ jQuery.fn.isLegend = function() { jQuery.fn.highlightLine= function() { this.find('line, polyline, path').css({'stroke': '#000000'}); + this.find('path').css({'strokeDasharray': '0'}); } jQuery.fn.unhighlightLine = function() { this.find('line, polyline, path').css({'stroke': '#666666'}); + this.find("path").css({'strokeDasharray': '4'}); }