diff --git a/static/js/services/angular-poll-channel.js b/static/js/services/angular-poll-channel.js index 98b69e664..368978d73 100644 --- a/static/js/services/angular-poll-channel.js +++ b/static/js/services/angular-poll-channel.js @@ -72,7 +72,8 @@ angular.module('quay').factory('AngularPollChannel', var that = this; this.working = true; - this.scope_.$apply(function() { + + $timeout(function() { that.requester_(function(status) { if (status) { that.working = false; @@ -82,7 +83,7 @@ angular.module('quay').factory('AngularPollChannel', that.stop(); } }); - }); + }, 0); }; _PollChannel.prototype.setupTimer_ = function() { @@ -103,4 +104,4 @@ angular.module('quay').factory('AngularPollChannel', }; return service; -}]); \ No newline at end of file +}]);