Skip to content

Commit ff39f73

Browse files
committed
fix(style) "run check" style fix
1 parent 535c2d2 commit ff39f73

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/field-list/type-list.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)