display new tags in green on mouseover
authorArun Persaud <arun@nubati.net>
Sat, 17 Nov 2012 23:08:01 +0000 (15:08 -0800)
committerArun Persaud <arun@nubati.net>
Sat, 17 Nov 2012 23:08:01 +0000 (15:08 -0800)
js/photo-tags.js

index 4b8d397f4c2f0c1125f00b63994449421415f89e..e577a15ddfe87ea318c493689ba1c248e44d416b 100644 (file)
@@ -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});
            });