diff --git a/files/templates/comments.html b/files/templates/comments.html index fc0601bd22..44772aa1c3 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -23,7 +23,6 @@ } -{% include "expanded_image_modal.html" %} {% macro single_comment(c, level=1) %} @@ -817,6 +816,8 @@ window.addEventListener('DOMContentLoaded', function() { }); +{% include "expanded_image_modal.html" %} + diff --git a/files/templates/formatting.html b/files/templates/formatting.html index 1fcd187378..f48d8f5543 100644 --- a/files/templates/formatting.html +++ b/files/templates/formatting.html @@ -1,6 +1,5 @@ {% extends "default.html" %} {% block title %} -{% include "expanded_image_modal.html" %}