From 39e972d629841a6d6086837433a1060fa6be2851 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Tue, 24 Jan 2012 20:41:19 -0800 Subject: fix autocomplete of tags --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index aa799b9..34382f9 100644 --- a/index.php +++ b/index.php @@ -78,7 +78,7 @@ var count=0; /* populate data list with tags*/ d3.json("/getjson.php?S", function(json) { - d3.select("#MyTags").selectAll("option").data(json[1]) + d3.select("#MyTags").selectAll("option").data(json) .enter().append("option").attr("value",function(d) {return d.name}); }); -- cgit v1.2.3-18-g5258