X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=photo-tags.git;a=blobdiff_plain;f=js%2Fphoto-tags.js;h=e577a15ddfe87ea318c493689ba1c248e44d416b;hp=4b8d397f4c2f0c1125f00b63994449421415f89e;hb=afaa0f8f6ae13beb58b9f04beecbb60c339a6808;hpb=580887dfba771bbfa99b7b8f13a8943c6dafc5a7;ds=sidebyside 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}); });