Skip to content
Snippets Groups Projects
Commit 00675b11 authored by Hanne Moa's avatar Hanne Moa
Browse files

Load clipboard-support, if turned on

Note that the flag in the context must be named 'clipboard',
not 'clipboard.js'. This is because the dot is an illegal symbol in
variable names in twig.
parent 47f88404
No related branches found
No related tags found
No related merge requests found
...@@ -28,5 +28,8 @@ ...@@ -28,5 +28,8 @@
<!-- postload javascript --> <!-- postload javascript -->
<script type="text/javascript" src="/{{ baseurlpath }}resources/script.js"></script> <script type="text/javascript" src="/{{ baseurlpath }}resources/script.js"></script>
{% if clipboard %}
<script type="text/javascript" src="/{{ baseurlpath }}resources/clipboard.min.js"></script>
{% endif %}
{% block postload %}{% endblock %} {% block postload %}{% endblock %}
</body></html> </body></html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment