aboutsummaryrefslogtreecommitdiffstats
path: root/angular-debug.js
diff options
context:
space:
mode:
Diffstat (limited to 'angular-debug.js')
-rw-r--r--angular-debug.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/angular-debug.js b/angular-debug.js
index 29bf63cc..d80db4df 100644
--- a/angular-debug.js
+++ b/angular-debug.js
@@ -2788,9 +2788,9 @@ foreach({
});
}
- if (state === null){
+ if (state === null && this['$invalidWidgets']){
// request in flight, mark widget invalid, but don't show it to user
- (this['$invalidWidgets']||[]).push(this.$element);
+ this['$invalidWidgets'].markInvalid(this.$element);
}
return state;
}