There was an error while loading. Please reload this page.
1 parent d8967bd commit 040b9abCopy full SHA for 040b9ab
src/flow/directives/init.js
@@ -14,7 +14,7 @@ angular.module('flow.init', ['flow.provider'])
14
if ({
15
'progress':1, 'filesSubmitted':1, 'fileSuccess': 1, 'fileError': 1
16
}[eventName]) {
17
-$scope.$apply();
+!$scope.$$phase && $scope.$apply();
18
}
19
if (event.defaultPrevented) {
20
return false;
0 commit comments