aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/entity_edit_toml.html
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web/templates/entity_edit_toml.html')
-rw-r--r--python/fatcat_web/templates/entity_edit_toml.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/entity_edit_toml.html b/python/fatcat_web/templates/entity_edit_toml.html
index 4b6e7b6d..807e4d2b 100644
--- a/python/fatcat_web/templates/entity_edit_toml.html
+++ b/python/fatcat_web/templates/entity_edit_toml.html
@@ -37,3 +37,15 @@
{% endblock %}
{% endblock %}
+{% block postscript %}
+<script src="https://cdn.jsdelivr.net/npm/sortablejs@latest/Sortable.min.js"></script>
+<script>
+<!-- Form code -->
+$(document).ready(function() {
+
+ // these javascript dropdowns hide the original <input>, which breaks browser
+ // form focusing (eg, for required fields) :(
+ $('.ui.dropdown') .dropdown();
+});
+</script>
+{% endblock %}