diff --git a/facetapi.js b/facetapi.js
index a22dfec..5ee976f 100644
--- a/facetapi.js
+++ b/facetapi.js
@@ -8,12 +8,14 @@ Drupal.behaviors.facetapi = {
     // based on the realm.
     for (var index in settings.facetapi.facets) {
       if ('block' == settings.facetapi.facets[index].realmName) {
-        // Find all checkbox facet links and give them a checkbox.
-        $('a.facetapi-checkbox.facetapi-inactive', context).each(Drupal.facetapi.addCheckbox);
-        // Find all unclick links and turn them into checkboxes.
-        $('a.facetapi-checkbox.facetapi-active', context).each(Drupal.facetapi.makeCheckbox);
-        // Applies soft limit to the list.
-        Drupal.facetapi.applyLimit(settings.facetapi.facets[index]);
+        if ('links' == settings.facetapi.facets[index].widgetFamily) {
+          // Find all checkbox facet links and give them a checkbox.
+          $('a.facetapi-checkbox.facetapi-inactive', context).each(Drupal.facetapi.addCheckbox);
+          // Find all unclick links and turn them into checkboxes.
+          $('a.facetapi-checkbox.facetapi-active', context).each(Drupal.facetapi.makeCheckbox);
+          // Applies soft limit to the list.
+          Drupal.facetapi.applyLimit(settings.facetapi.facets[index]);
+        }
       }
     }
   }
diff --git a/plugins/facetapi/widget.inc b/plugins/facetapi/widget.inc
index e9cae02..87d7864 100644
--- a/plugins/facetapi/widget.inc
+++ b/plugins/facetapi/widget.inc
@@ -114,7 +114,7 @@ abstract class FacetapiWidget {
     $this->jsSettings += array(
       'id' => $this->build['#attributes']['id'],
       'searcher' => $searcher,
-      'type' => $this->facet->getAdapter()->getType(),
+      'widgetFamily' => 'links',
       'realmName' => $this->realm['name'],
       'facetName' => $this->facet['name'],
       'queryType' => $this->facet['query type'],
