Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit 4dd6172

Browse files
author
James Kleeh
committed
Update angular-confirm.js
1 parent ce127e9 commit 4dd6172

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

angular-confirm.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,7 @@ angular.module('angular-confirm', ['ui.bootstrap'])
6161
reBind(bindConfirm);
6262
} else {
6363
reBind(function() {
64-
if (scope.$$phase || scope.$root.$$phase) {
65-
scope.ngClick();
66-
} else {
67-
scope.$apply(scope.ngClick);
68-
}
64+
scope.$apply(scope.ngClick);
6965
});
7066
}
7167
});

0 commit comments

Comments
 (0)