post.html: comment button now opens post-feed.html like feed.html
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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 }) {
|
||||
|
||||
Reference in New Issue
Block a user