mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-24 06:59:52 +01:00
vue ui DOM must come before the init JS
This commit is contained in:
parent
9591e5e5c7
commit
291766d2c2
@ -31,16 +31,16 @@ window.banner_info = {
|
|||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
|
{% if ui.vue_timeline_banner %}
|
||||||
|
<div id="app" style="width: 100%; height: 200px"></div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<link rel='stylesheet' href='{{ static_prefix }}/vue_banner.css'/>
|
<link rel='stylesheet' href='{{ static_prefix }}/vue_banner.css'/>
|
||||||
<script src="{{ static_prefix }}/vue/vueui.js"></script>
|
<script src="{{ static_prefix }}/vue/vueui.js"></script>
|
||||||
<script>
|
<script>
|
||||||
VueUI.main("{{ static_prefix }}", "{{ url }}", "{{ wb_prefix }}", "{{ timestamp }}", "{{ ui.logo }}");
|
VueUI.main("{{ static_prefix }}", "{{ url }}", "{{ wb_prefix }}", "{{ timestamp }}", "{{ ui.logo }}");
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{% if ui.vue_timeline_banner %}
|
|
||||||
<div id="app" style="width: 100%; height: 200px"></div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user