Skip to content

Commit

Permalink
Added braces to if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
decden committed Apr 3, 2017
1 parent 072960f commit 797e002
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/subscribables/observableArray.changeTracking.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ ko.extenders['trackArrayChanges'] = function(target, options) {
target['notifySubscribers'] = underlyingNotifySubscribersFunction;
underlyingNotifySubscribersFunction = undefined;
}
if (arrayChangeSubscription)
arrayChangeSubscription.dispose();
if (arrayChangeSubscription) {
arrayChangeSubscription.dispose();
}
arrayChangeSubscription = null;
trackingChanges = false;
}
Expand Down

0 comments on commit 797e002

Please sign in to comment.