diff options
author | Arun Persaud <arun@nubati.net> | 2012-11-17 15:08:01 -0800 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2012-11-17 15:08:01 -0800 |
commit | afaa0f8f6ae13beb58b9f04beecbb60c339a6808 (patch) | |
tree | 946dabd6873404dde1c68dfdcc910088322d4f8a | |
parent | 580887dfba771bbfa99b7b8f13a8943c6dafc5a7 (diff) | |
download | photo-tags-afaa0f8f6ae13beb58b9f04beecbb60c339a6808.tar.gz photo-tags-afaa0f8f6ae13beb58b9f04beecbb60c339a6808.tar.bz2 photo-tags-afaa0f8f6ae13beb58b9f04beecbb60c339a6808.zip |
display new tags in green on mouseover
-rw-r--r-- | js/photo-tags.js | 4 |
1 files 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}); }); |