mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
We need to either disable async loading, or defer exection. In IE11, we're running into an issue where the logout page is executing before the vendors file. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
parent
6672cf3054
commit
077336ca0e
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ if (window.__kbnStrictCsp__ && window.__kbnCspNotEnforced__) {
|
|||
function createJavascriptElement(path) {
|
||||
var dom = document.createElement('script');
|
||||
|
||||
dom.setAttribute('async', '');
|
||||
dom.setAttribute('defer', 'defer');
|
||||
dom.addEventListener('error', failure);
|
||||
dom.setAttribute('src', file);
|
||||
dom.addEventListener('load', next);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue