From: Jakub Skoczen Date: Thu, 3 Mar 2011 12:08:55 +0000 (+0100) Subject: Fix target names when no results X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=049c8e48d3f0f04db7f885f83b94a9ba1f454a9b;p=mkdruding2.git Fix target names when no results --- diff --git a/mkdruding2.js b/mkdruding2.js index 347f93b..d74b6bb 100644 --- a/mkdruding2.js +++ b/mkdruding2.js @@ -70,9 +70,14 @@ Drupal.theme.mkdruFacet = function (terms, facet, max, selections) { if (terms.length == 0 && selections && selections.length) { for (var i=0; i'+selections[i]+' (0)
'; + + '">'+name+' (0)
'; } } }