From afaa0f8f6ae13beb58b9f04beecbb60c339a6808 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sat, 17 Nov 2012 15:08:01 -0800 Subject: [PATCH] display new tags in green on mouseover --- js/photo-tags.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/photo-tags.js b/js/photo-tags.js index 4b8d397..e577a15 100644 --- a/js/photo-tags.js +++ b/js/photo-tags.js @@ -89,8 +89,8 @@ function load_content() { .text( function(t) { return t.name; }) - .on("mouseover", function(d){ d3.select(this).classed("btn-danger",true)}) - .on("mouseout", function(d){ d3.select(this).classed("btn-danger",false)}) + .on("mouseover", function(d){ d3.select(this).classed("btn-success",true)}) + .on("mouseout", function(d){ d3.select(this).classed("btn-success",false)}) .on("click", function(d) { document.location.href=webbase+'/tag/'+d.name}); }); -- 2.17.1