Skip to content

Commit 040b9ab

Browse files
committed
c
1 parent d8967bd commit 040b9ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flow/directives/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ angular.module('flow.init', ['flow.provider'])
1414
if ({
1515
'progress':1, 'filesSubmitted':1, 'fileSuccess': 1, 'fileError': 1
1616
}[eventName]) {
17-
$scope.$apply();
17+
!$scope.$$phase && $scope.$apply();
1818
}
1919
if (event.defaultPrevented) {
2020
return false;

0 commit comments

Comments
 (0)