File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -537,11 +537,11 @@ function updateMatrixCells() {
537537function updateMatrixBehavior ( ) {
538538 var sections = $ ( '.matSection' , HTTPSBPopup . matrixList ) ;
539539 var i = sections . length ;
540- var section , collapsible ;
540+ var section , subdomainRows ;
541541 while ( i -- ) {
542542 section = $ ( sections [ i ] ) ;
543- collapsible = ! $ ( '.l2 .gdt,.l2 .rdt' , section ) . length ;
544- section . toggleClass ( 'collapsible' , collapsible ) ;
543+ subdomainRows = section . children ( '.l2' ) ;
544+ section . toggleClass ( 'collapsible' , subdomainRows . length > 0 && subdomainRows . children ( '.gdt,.rdt' ) . length === 0 ) ;
545545 }
546546}
547547
@@ -725,7 +725,7 @@ function renderMatrixMetaCellType(cell, count) {
725725 }
726726}
727727
728- function makeMatrixMetaRow ( stats , groupClass ) {
728+ function makeMatrixMetaRow ( stats ) {
729729 var typeStats = stats . types ;
730730 var matrixRow = HTTPSBPopup . matrixRowTemplate . clone ( ) . addClass ( 'ro' ) ;
731731 var cells = $ ( 'div' , matrixRow ) ;
You can’t perform that action at this time.
0 commit comments