Skip to content

Commit

Permalink
minor refactor resetCollapse method
Browse files Browse the repository at this point in the history
  • Loading branch information
josephahn authored and jasonLaster committed Mar 10, 2015
1 parent ac1d856 commit 340c527
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ define([
model: Action,

resetCollapse: function() {
var actions = this.models;
_.each(actions, function(action) {
this.each(function(action) {
action.isCollapsed = true;
});
},
Expand Down

0 comments on commit 340c527

Please sign in to comment.