Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
aselbie committed Nov 17, 2015
1 parent 988d92c commit 56509e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,8 @@ $templateCache.put("views/submit-work-complete.directive.html","<modal show=\"vm
};
activate = function() {
var destroyWorkListener;
$scope.$watch('vm.showFeaturesModal', function(newValue) {
if (newValue === false) {
$scope.$watch('vm.showFeaturesModal', function(newValue, oldValue) {
if (oldValue && !newValue) {
return vm.save();
}
});
Expand Down

0 comments on commit 56509e5

Please sign in to comment.