diff options
context:
space:
mode:
Diffstat (limited to 'source/ui-diff.c')
-rw-r--r--source/ui-diff.c8
1 file changed, 4 insertions, 4 deletions
diff --git a/source/ui-diff.c b/source/ui-diff.c
index 63c0148..e08b096 100644
--- a/source/ui-diff.c
+++ b/source/ui-diff.c
@@ -578,7 +578,7 @@ void cgit_print_diff_ctrls(void)
html("<tr>");
html("<td class='label'>context:</td>");
html("<td class='ctrl'>");
- html("<select name='context' data-autosubmit='1'>");
+ html("<select name='context'>");
selected = ctx.qry.context;
if (!selected)
selected = DEFAULT_CONTEXT_LINES;
@@ -591,7 +591,7 @@ void cgit_print_diff_ctrls(void)
html("</tr><tr>");
html("<td class='label'>space:</td>");
html("<td class='ctrl'>");
- html("<select name='ignorews' data-autosubmit='1'>");
+ html("<select name='ignorews'>");
html_intoption(0, "include", ctx.qry.ignorews);
html_intoption(1, "ignore", ctx.qry.ignorews);
html("</select>");
@@ -599,14 +599,14 @@ void cgit_print_diff_ctrls(void)
html("</tr><tr>");
html("<td class='label'>mode:</td>");
html("<td class='ctrl'>");
- html("<select name='dt' data-autosubmit='1'>");
+ html("<select name='dt'>");
selected = ctx.qry.has_difftype ? ctx.qry.difftype : ctx.cfg.difftype;
html_intoption(0, "unified", selected);
html_intoption(1, "ssdiff", selected);
html_intoption(2, "stat only", selected);
html("</select></td></tr>");
html("<tr><td></td><td class='ctrl'>");
- html("<noscript><input type='submit' value='reload'></noscript>");
+ html("<input type='submit' value='reload'>");
html("</td></tr></table>");
html("</form>\n");
html("</div>\n");