mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-06 03:04:10 +02:00
Set cursor style and a11y label on close button
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
This commit is contained in:
parent
8e383835b9
commit
72205be3dc
|
|
@ -124,6 +124,8 @@ search backend.
|
|||
.css({ fontWeight: "bold" }))
|
||||
.append($("<span>")
|
||||
.addClass("td-offline-search-results__close-button")
|
||||
.attr("role", "button")
|
||||
.attr("aria-label", "Close")
|
||||
.on("click", () => {
|
||||
$targetSearchInput.val("");
|
||||
$targetSearchInput.trigger("change");
|
||||
|
|
|
|||
Loading…
Reference in a new issue