1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-02 10:24:59 +12:00

this fixes #8

This commit is contained in:
gorhill 2014-10-25 16:41:08 -04:00
parent fa84fa2508
commit b31b7227ff

View file

@ -315,7 +315,7 @@ function updateMatrixBehavior() {
j = subdomainRows.length;
while ( j-- ) {
subdomainRow = subdomainRows.at(j);
subdomainRow.toggleClass('collapsible', subdomainRow.descendants('.gd,.rd').length === 0);
subdomainRow.toggleClass('collapsible', subdomainRow.descendants('.t81,.t82').length === 0);
}
section.toggleClass('collapsible', subdomainRows.filter('.collapsible').length > 0);
}