File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,9 @@ var TypeListItem = View.extend(tooltipMixin, {
105105 // this.toggle('selected');
106106 } else {
107107 // no clicks on Undefined allowed
108- if ( this . model . getId ( ) === 'Undefined' ) return ;
108+ if ( this . model . getId ( ) === 'Undefined' ) {
109+ return ;
110+ }
109111
110112 // find the field view, at most 2 levels up
111113 var fieldView = this . parent . parent ;
@@ -137,7 +139,9 @@ TypeListView = module.exports = View.extend({
137139 } ,
138140 template : require ( './type-list.jade' ) ,
139141 deactivateAll : function ( ) {
140- if ( ! this . collectionView ) return ;
142+ if ( ! this . collectionView ) {
143+ return ;
144+ }
141145 _ . each ( this . collectionView . views , function ( typeView ) {
142146 typeView . active = false ;
143147 typeView . selected = false ;
You can’t perform that action at this time.
0 commit comments