mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 07:23:46 +00:00
Merge branch 'js_fix_load_order' into 'dev'
Fix JavaScript not being load before the code using it. See merge request federez/re2o!305
This commit is contained in:
commit
a6f65fd967
1 changed files with 5 additions and 3 deletions
|
@ -41,6 +41,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<meta property="og:image:alt" content="The Re2o logo"/>
|
<meta property="og:image:alt" content="The Re2o logo"/>
|
||||||
<meta property="og:description" content="{% trans "Networking managing website endorsed by FedeRez." %}" />
|
<meta property="og:description" content="{% trans "Networking managing website endorsed by FedeRez." %}" />
|
||||||
|
|
||||||
|
{# Preload JavaScript #}
|
||||||
|
{% bootstrap_javascript %}
|
||||||
|
<script src="/static/js/typeahead/typeahead.js"></script>
|
||||||
|
<script src="/static/js/bootstrap-tokenfield/bootstrap-tokenfield.js"></script>
|
||||||
|
|
||||||
{# Load CSS #}
|
{# Load CSS #}
|
||||||
{% bootstrap_css %}
|
{% bootstrap_css %}
|
||||||
<link href="{% static 'css/typeaheadjs.css' %}" rel="stylesheet">
|
<link href="{% static 'css/typeaheadjs.css' %}" rel="stylesheet">
|
||||||
|
@ -265,8 +270,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
{# Load JavaScript #}
|
{# Load JavaScript #}
|
||||||
{% bootstrap_javascript %}
|
|
||||||
<script src="/static/js/typeahead/typeahead.js"></script>
|
|
||||||
<script src="/static/js/handlebars/handlebars.js"></script>
|
<script src="/static/js/handlebars/handlebars.js"></script>
|
||||||
<script src="/static/js/konami/konami.js"></script>
|
<script src="/static/js/konami/konami.js"></script>
|
||||||
<script src="/static/js/sapphire.js"></script>
|
<script src="/static/js/sapphire.js"></script>
|
||||||
|
@ -275,7 +278,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
let s = Sapphire();
|
let s = Sapphire();
|
||||||
Konami(s.activate);
|
Konami(s.activate);
|
||||||
</script>
|
</script>
|
||||||
<script src="/static/js/bootstrap-tokenfield/bootstrap-tokenfield.js"></script>
|
|
||||||
<script src="/static/js/shortcuts.js"></script>
|
<script src="/static/js/shortcuts.js"></script>
|
||||||
|
|
||||||
{# Read the documentation for more information #}
|
{# Read the documentation for more information #}
|
||||||
|
|
Loading…
Reference in a new issue