Browse Source

hide default bang button for non-bang links

main
familyfriendlymikey 2 years ago
parent
commit
f68c4bdd9e
  1. 4
      app/client.imba

4
app/client.imba

@ -594,11 +594,11 @@ tag app
<span.parens> ")" <span.parens> ")"
<.link-right> <.link-right>
<.link-buttons> <.link-buttons>
<.link-button@click.prevent.stop=handle_click_edit(link)> "E"
<.link-button <.link-button
@click.if(link.is_bang).prevent.stop=handle_click_make_default_bang(link) @click.if(link.is_bang).prevent.stop=handle_click_make_default_bang(link)
[c:purple3/20]=!link.is_bang [visibility:hidden]=!link.is_bang
> "B" > "B"
<.link-button@click.prevent.stop=handle_click_edit(link)> "E"
<.link-button@click.prevent.stop=handle_click_delete(link)> "D" <.link-button@click.prevent.stop=handle_click_delete(link)> "D"
<.link-button <.link-button
@click.prevent.stop=handle_click_pin(link) @click.prevent.stop=handle_click_pin(link)

Loading…
Cancel
Save