mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
pass in runScript timeout from getApp
This commit is contained in:
parent
cf889cb91e
commit
97d24e4050
1 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ define(function (require) {
|
|||
|
||||
runScript: function (fn, timeout) {
|
||||
var self = this;
|
||||
timeout = timeout || 10000;
|
||||
timeout = timeout || 5000;
|
||||
|
||||
// wait for deps on window before running script
|
||||
return self.remote
|
||||
|
@ -102,7 +102,7 @@ define(function (require) {
|
|||
var $ = window.$;
|
||||
var $scope = $('.content > .application').scope();
|
||||
return $scope ? $scope.chrome.getApp() : {};
|
||||
});
|
||||
}, loadTimeout / 2);
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue