diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/static_source/js/main.ts b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/static_source/js/main.ts index d5770d49..65ba46c1 100644 --- a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/static_source/js/main.ts +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/static_source/js/main.ts @@ -36,7 +36,7 @@ htmx.defineExtension("get-timezone", { if (import.meta.hot) { import.meta.hot.on("template-hmr", () => { const dest = document.location.href; - htmx.ajax("GET", dest, { target: "body", swap: "morphdom" }); + htmx.ajax("GET", dest, { target: "body", swap: "morph" }); }); } diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/templates/base.jinja b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/templates/base.jinja index 69960f4a..0f9db87a 100644 --- a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/templates/base.jinja +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/templates/base.jinja @@ -31,7 +31,7 @@ {% endblock extra_head %}
{% include "header/base.jinja" %}