-
-
-
-
var collFilters = jQuery('.ttr-collection-filter-picker');
collFilters.change(function() {
var newTags = [];
collFilters.each(function() {
if (jQuery(this).val()) {
newTags.push(jQuery(this).val());
}
});
if (newTags.length) {
var query = newTags.join('+');
window.location.href = jQuery('tag').attr('href').replace('/' + 'tag', '/' + query);
}
else {
window.location.href = '/collections/france';
}
});
- choosing a selection results in a full page refresh