From 7d500495a720be6c3b36bb21e6aa068b54794262 Mon Sep 17 00:00:00 2001 From: Laan Tungir Date: Wed, 1 Jul 2026 18:55:25 -0400 Subject: [PATCH] post.html: comment button now opens post-feed.html like feed.html --- www/js/version.json | 6 +++--- www/post.html | 14 +++----------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/www/js/version.json b/www/js/version.json index 93ee7d9..9979a62 100644 --- a/www/js/version.json +++ b/www/js/version.json @@ -1,5 +1,5 @@ { - "VERSION": "v0.7.91", - "VERSION_NUMBER": "0.7.91", - "BUILD_DATE": "2026-07-01T21:30:39.527Z" + "VERSION": "v0.7.92", + "VERSION_NUMBER": "0.7.92", + "BUILD_DATE": "2026-07-01T22:55:25.679Z" } diff --git a/www/post.html b/www/post.html index d4240cd..e5e73ad 100644 --- a/www/post.html +++ b/www/post.html @@ -491,17 +491,9 @@ import { initPostCards } from './js/post-interactions2.mjs'; } function handleComposerCommentIntent({ postId, postPubkey }) { - const postEl = document.querySelector(`.divPostItem[data-post-id="${postId}"]`); - if (!postEl) return false; - - const entry = getOrCreateInlineComposer(postId, postEl); - if (!entry) return false; - entry.tags = [ - ['e', postId, '', 'reply'], - ['p', postPubkey] - ]; - if (entry.instance?.show) entry.instance.show(); - return focusInlineComposer(entry.hostEl, ''); + if (!postId) return false; + window.open('./post-feed.html?event=' + encodeURIComponent(postId), '_blank'); + return true; } function handleComposerQuoteIntent({ postId, postPubkey }) {