mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-17 06:16:33 +00:00
Fix for some browsers (#730)
Move polyfill block before all scripts, it should fix page not loading issue on old browsers.
This commit is contained in:
parent
0018a9a9c8
commit
788650f8e5
@ -76,9 +76,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<home-assistant></home-assistant>
|
<home-assistant></home-assistant>
|
||||||
<!--<script src='/home-assistant-polymer/build/_demo_data_compiled.js'></script>-->
|
|
||||||
<!--EXTRA_SCRIPTS-->
|
|
||||||
<script src='/home-assistant-polymer/build/core.js'></script>
|
|
||||||
<script>
|
<script>
|
||||||
var webComponentsSupported = (
|
var webComponentsSupported = (
|
||||||
'customElements' in window &&
|
'customElements' in window &&
|
||||||
@ -96,6 +93,9 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<!--<script src='/home-assistant-polymer/build/_demo_data_compiled.js'></script>-->
|
||||||
|
<!--EXTRA_SCRIPTS-->
|
||||||
|
<script src='/home-assistant-polymer/build/core.js'></script>
|
||||||
<link rel='import' href='/home-assistant-polymer/src/home-assistant.html' onerror='initError()'>
|
<link rel='import' href='/home-assistant-polymer/src/home-assistant.html' onerror='initError()'>
|
||||||
{% if panel_url -%}
|
{% if panel_url -%}
|
||||||
<link rel='import' href='{{ panel_url }}' async>
|
<link rel='import' href='{{ panel_url }}' async>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user