jquery - add class to all NOT / BUT what is clicked/selected
$(".size").on('click','a', function(){
$(this).toggleClass('checked').siblings().removeClass('checked');
})
// or what I ended up using on rooflight:
// toggle second tier visible ON click
$secondTier.children('.dropdown-toggle').on('click', function(e){
var clicked = $(this);
var dataID = $(this).attr('data-id');
var clearShow = $('.dropdown__child > .dropdown-menu');
e.stopPropagation();
e.preventDefault();
console.log('saved');
// hide any open dropdowns
clearShow.removeClass('show');
// open dropdown-menu that was clicked
clicked.siblings('.dropdown-menu').toggleClass('show');
});