mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 13:26:34 +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>
|
||||
<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>
|
||||
var webComponentsSupported = (
|
||||
'customElements' in window &&
|
||||
@ -96,6 +93,9 @@
|
||||
});
|
||||
}
|
||||
</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()'>
|
||||
{% if panel_url -%}
|
||||
<link rel='import' href='{{ panel_url }}' async>
|
||||
|
Loading…
x
Reference in New Issue
Block a user