commit 6a7881e
default
·
2024-10-29 19:22:49 +0000 UTC
parent c104493
Set some HTML url fields to be type 'url'.
1 files changed,
+2,
-2
M
html.c
M
html.c
+2,
-2
1@@ -355,7 +355,7 @@ xs_html *html_note(snac *user, const char *summary,
2 xs_html_tag("p", NULL),
3 xs_html_text(L("Reply to (URL): ")),
4 xs_html_sctag("input",
5- xs_html_attr("type", "text"),
6+ xs_html_attr("type", "url"),
7 xs_html_attr("name", "in_reply_to"),
8 xs_html_attr("placeholder", "Optional URL to reply to")));
9
10@@ -959,7 +959,7 @@ xs_html *html_top_controls(snac *snac)
11 xs_html_attr("method", "post"),
12 xs_html_attr("action", ops_action),
13 xs_html_sctag("input",
14- xs_html_attr("type", "text"),
15+ xs_html_attr("type", "url"),
16 xs_html_attr("name", "id"),
17 xs_html_attr("required", "required"),
18 xs_html_attr("placeholder", "https:/" "/fedi.example.com/bob/...")),