Replace click routing with direct button handlers
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
type="button"
|
||||
class="compose__action-btn"
|
||||
id="compose-settings"
|
||||
data-action="compose-settings"
|
||||
aria-label="Compose settings"
|
||||
>
|
||||
<svg class="icon"><use href="/static/icons.svg#settings-2"></use></svg>
|
||||
@@ -23,7 +22,6 @@
|
||||
type="button"
|
||||
class="compose__action-btn"
|
||||
id="attach"
|
||||
data-action="attach"
|
||||
aria-label="Attach files"
|
||||
>
|
||||
<svg class="icon"><use href="/static/icons.svg#attach"></use></svg>
|
||||
@@ -32,7 +30,6 @@
|
||||
type="button"
|
||||
class="compose__action-btn"
|
||||
id="location"
|
||||
data-action="location"
|
||||
aria-label="Include location"
|
||||
title="Include GPS location"
|
||||
>
|
||||
@@ -64,7 +61,6 @@
|
||||
type="button"
|
||||
class="compose__action-btn compose__action-btn--send"
|
||||
id="send"
|
||||
data-action="send"
|
||||
aria-label="Send message"
|
||||
>
|
||||
<svg class="icon compose__icon--send"><use href="/static/icons.svg#send"></use></svg>
|
||||
|
||||
Reference in New Issue
Block a user