From 760fce7d2834a240781a55df9d96afb0e45fac3d Mon Sep 17 00:00:00 2001 From: Hunternif Date: Sat, 15 Feb 2025 21:12:17 +0000 Subject: client: fix logic for placing comment section on mobile --- client/html/post_main.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client') diff --git a/client/html/post_main.tpl b/client/html/post_main.tpl index f170713..cebab17 100644 --- a/client/html/post_main.tpl +++ b/client/html/post_main.tpl @@ -70,7 +70,7 @@ - <% if (screen.width <= 1000) { %> + <% if (window.innerWidth <= 1000) { %>
<% if (ctx.canListComments) { %>
@@ -86,7 +86,7 @@
- <% if (screen.width > 1000) { %> + <% if (window.innerWidth > 1000) { %> <% if (ctx.canListComments) { %>
<% } %> -- cgit v1.3