CT-Data-Collaborative / ctdata-ckan-theme

Data Stories
0 stars 0 forks source link

geography_parem not been targeted correctly when set as Town/County #275

Closed scuerda closed 8 years ago

scuerda commented 8 years ago
$.each(filter_lists, function(i){
        $(filter_lists[i]).find("input:checked:not(." + geography_param+ ", .Year)[value != 'Margins of Error']").slice(1).prop('checked', false);
    });

in visualization.js

scuerda commented 8 years ago

passing geography_param.replace('/','\\/') allows jquery to target classes correctly...