87cb31210c7b6339c24c568397725460d594c4f0 galt Wed Feb 24 11:15:40 2021 -0800 change c-style to js for curly braces, thanks Kate for catching. diff --git src/hg/js/ddcl.js src/hg/js/ddcl.js index bc7ce9a..885524f 100644 --- src/hg/js/ddcl.js +++ src/hg/js/ddcl.js @@ -111,32 +111,31 @@ var item = $(this).parent(); // GREY OUT if ($(selectOptions[index]).hasClass('excluded')) { $(item).addClass("ui-state-excluded"); } else { $(item).removeClass("ui-state-excluded"); } }); } } catch (err) {} // OK if filterCompositeExcludeOptions is not defined. // Show only first as selected if it is selected if (allCheckboxes[0].checked === true) { allCheckboxes.each(function(index) { - if (index > 0) - { + if (index > 0) { $(this).attr('checked',false); } }); } var hideCount = 0; var itemHeight = 0; // update the facetCounts allCheckboxes.each(function(index) { var item = $(this).parent(); if (index === 0) { itemHeight = item[0].clientHeight;