From d04dc8ef0c17dfc23b0c8a713ad094d86dc3828b Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 27 Jun 2011 03:59:43 +0530 Subject: [PATCH] disable click for legend items --- radia.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/radia.js b/radia.js index 6d079cf..dc89f77 100644 --- a/radia.js +++ b/radia.js @@ -111,6 +111,9 @@ $(function() { }); $this.click(function() { + if (!$this.hasTooltip()) { + return; + } window.open($(this).data("link")); // console.log($(this).data("link")); });