diff --git a/static/js/table_owned.js b/static/js/table_owned.js index 83a77d1..44f3f6f 100644 --- a/static/js/table_owned.js +++ b/static/js/table_owned.js @@ -1,5 +1,5 @@ -$(function() { +document.addEventListener("DOMContentLoaded", function() { $('.edit_column_btn').attr('hidden', false); }); diff --git a/static/js/table.js b/static/js/table_write.js similarity index 100% rename from static/js/table.js rename to static/js/table_write.js diff --git a/templates/table_owned.html.tera b/templates/table_owned.html.tera index 02111c7..592fc55 100644 --- a/templates/table_owned.html.tera +++ b/templates/table_owned.html.tera @@ -12,13 +12,14 @@ {% endblock share %} -{% block more_modals %} +{% block modals %} {{ super() }} {% include "table_owned_modals" %} -{% endblock more_modals %} +{% endblock modals %} {% block script %} +{{ super() }} {% endblock script %}