web: removed non-working event buttons
This commit is contained in:
parent
eac631f7f4
commit
0ec857b554
2 changed files with 2 additions and 4 deletions
|
@ -990,8 +990,6 @@ function reply_to(evid) {
|
||||||
replying_to.dataset.evid = evid
|
replying_to.dataset.evid = evid
|
||||||
const ev = DSTATE.all_events[evid]
|
const ev = DSTATE.all_events[evid]
|
||||||
replying_to.innerHTML = render_event(DSTATE, ev, {is_composing: true, nobar: true, max_depth: 1})
|
replying_to.innerHTML = render_event(DSTATE, ev, {is_composing: true, nobar: true, max_depth: 1})
|
||||||
|
|
||||||
modal.style.display = replying? "block" : "none";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const IMG_REGEX = /(png|jpeg|jpg|gif|webp)$/i
|
const IMG_REGEX = /(png|jpeg|jpg|gif|webp)$/i
|
||||||
|
|
|
@ -277,9 +277,9 @@ function render_action_bar(ev, can_delete) {
|
||||||
<div class="action-bar">
|
<div class="action-bar">
|
||||||
<button class="icon" title="Reply" onclick="reply_to('${ev.id}')"><i class="fa fa-fw fa-comment"></i></a>
|
<button class="icon" title="Reply" onclick="reply_to('${ev.id}')"><i class="fa fa-fw fa-comment"></i></a>
|
||||||
<button class="icon react heart" ${react_onclick} title="Like"><i class="fa fa-fw fa-heart"></i></a>
|
<button class="icon react heart" ${react_onclick} title="Like"><i class="fa fa-fw fa-heart"></i></a>
|
||||||
<button class="icon" title="Share" onclick=""><i class="fa fa-fw fa-link"></i></a>
|
<!--<button class="icon" title="Share" onclick=""><i class="fa fa-fw fa-link"></i></a>-->
|
||||||
${delete_html}
|
${delete_html}
|
||||||
<button class="icon" title="View raw Nostr event." onclick=""><i class="fa-solid fa-fw fa-code"></i></a>
|
<!--<button class="icon" title="View raw Nostr event." onclick=""><i class="fa-solid fa-fw fa-code"></i></a>-->
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue