Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Domino <dominoa@lovullo.com>2016-03-29 09:58:26 -0400
committerArthur Domino <dominoa@lovullo.com>2016-03-29 09:58:26 -0400
commit93bff0367650b3f1f80545148dd89ca90e537c14 (patch)
tree8c40e168678bab1d7164f111c367a3a763d6292b
parent15d8bd607844b1801fab43916a5abd68eaec9f94 (diff)
downloadliza-93bff0367650b3f1f80545148dd89ca90e537c14.tar.gz
liza-93bff0367650b3f1f80545148dd89ca90e537c14.tar.bz2
liza-93bff0367650b3f1f80545148dd89ca90e537c14.zip
Do not collapse CollapseTableGroups when created.
-rw-r--r--src/ui/group/CollapseTableGroupUi.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ui/group/CollapseTableGroupUi.js b/src/ui/group/CollapseTableGroupUi.js
index 092d988..f8485cb 100644
--- a/src/ui/group/CollapseTableGroupUi.js
+++ b/src/ui/group/CollapseTableGroupUi.js
@@ -346,18 +346,6 @@ module.exports = Class( 'CollapseTableGroupUi' )
this._initBlocks( $unit );
this._initToggle( $unit );
- // only collapse if we have multiple units
- if ( index > 0 )
- {
- this._collapse( $unit );
-
- // if this is the 2nd unit, we need to collapse the first
- if ( index === 1 )
- {
- this._collapse( this._getUnitByIndex( index - 1 ) );
- }
- }
-
// this will handle post-add processing, such as answer hooking
this.postAddRow( $unit, index );
},