aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-10-29 20:22:49 +0100
committerdefault <nobody@localhost>2024-10-29 20:22:49 +0100
commit6a7881ec850f0f79eb7cd0f201375390eac627a6 (patch)
tree0cba22a787bce27b996813cf122a9f099ecfeeb5 /html.c
parentc10449364b5ee57bc473a31b0daf6c8de9543f60 (diff)
Set some HTML url fields to be type 'url'.
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index f91742f..27596a2 100644
--- a/html.c
+++ b/html.c
@@ -355,7 +355,7 @@ xs_html *html_note(snac *user, const char *summary,
xs_html_tag("p", NULL),
xs_html_text(L("Reply to (URL): ")),
xs_html_sctag("input",
- xs_html_attr("type", "text"),
+ xs_html_attr("type", "url"),
xs_html_attr("name", "in_reply_to"),
xs_html_attr("placeholder", "Optional URL to reply to")));
@@ -959,7 +959,7 @@ xs_html *html_top_controls(snac *snac)
xs_html_attr("method", "post"),
xs_html_attr("action", ops_action),
xs_html_sctag("input",
- xs_html_attr("type", "text"),
+ xs_html_attr("type", "url"),
xs_html_attr("name", "id"),
xs_html_attr("required", "required"),
xs_html_attr("placeholder", "https:/" "/fedi.example.com/bob/...")),