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, {
105
105
// this.toggle('selected');
106
106
} else {
107
107
// no clicks on Undefined allowed
108
- if ( this . model . getId ( ) === 'Undefined' ) return ;
108
+ if ( this . model . getId ( ) === 'Undefined' ) {
109
+ return ;
110
+ }
109
111
110
112
// find the field view, at most 2 levels up
111
113
var fieldView = this . parent . parent ;
@@ -137,7 +139,9 @@ TypeListView = module.exports = View.extend({
137
139
} ,
138
140
template : require ( './type-list.jade' ) ,
139
141
deactivateAll : function ( ) {
140
- if ( ! this . collectionView ) return ;
142
+ if ( ! this . collectionView ) {
143
+ return ;
144
+ }
141
145
_ . each ( this . collectionView . views , function ( typeView ) {
142
146
typeView . active = false ;
143
147
typeView . selected = false ;
You can’t perform that action at this time.
0 commit comments