mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
remove scope.apply
jquery loading race condition was fixed
This commit is contained in:
parent
b5b406ffb5
commit
4ac5d97329
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue