remove scope.apply

jquery loading race condition was fixed
This commit is contained in:
Joe Fleming 2015-05-01 10:19:26 -07:00
parent b5b406ffb5
commit 4ac5d97329

View file

@ -70,12 +70,8 @@ define(function (require) {
var off = $rootScope.$on('filterbar:updated', function () {
off();
// force a nextTick so it continues *after* the $digest loop completes
setTimeout(function () {
$rootScope.$apply(); // ┗( ●- `。)づ ....angular
done();
}, 0);
setTimeout(done, 0);
});
// kick off the digest loop