[Drupal7] Quick hack to display facet items as checkboxes/radio buttons

Hi, there are some facets that doesn't have the option to be displayed as checkboxes /radio buttons,or another option was required WITH being displayed as checkboxes.

Like displaying the Date range widget facet with date_range option.

With Facetapi module should be enabled add this jquery line to whatever js file loaded with the page.

if(Drupal.facetapi){
 $('section.block-facetapi-id a').each(Drupal.facetapi.makeCheckbox);
}

Happy checkboxing :-)