mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 08:28:42 +00:00
ui-shared: Remove a name attribute with an empty value
The name attribute is optional in an input element, but it must not be an empty value. See: https://html.spec.whatwg.org/#attr-fe-name See: https://html.spec.whatwg.org/#the-input-element
This commit is contained in:
parent
8d05b398bb
commit
9afda36ed7
@ -944,7 +944,7 @@ static void print_header(void)
|
|||||||
if (ctx.repo->enable_remote_branches)
|
if (ctx.repo->enable_remote_branches)
|
||||||
for_each_remote_ref(print_branch_option, ctx.qry.head);
|
for_each_remote_ref(print_branch_option, ctx.qry.head);
|
||||||
html("</select> ");
|
html("</select> ");
|
||||||
html("<input type='submit' name='' value='switch'/>");
|
html("<input type='submit' value='switch'/>");
|
||||||
html("</form>");
|
html("</form>");
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
|
Loading…
Reference in New Issue
Block a user