From 049c8e48d3f0f04db7f885f83b94a9ba1f454a9b Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Thu, 3 Mar 2011 13:08:55 +0100 Subject: [PATCH] Fix target names when no results --- mkdruding2.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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)
'; } } } -- 1.7.10.4