summary refs log tree commit diff
path: root/html.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-12 17:47:58 -0400
committerJune McEnroe <june@causal.agency>2020-07-12 17:47:58 -0400
commitb5d469b648f9bd56bc4d4f9a189631dfbe28d5e1 (patch)
tree943258efcb161f63dff6bdf9a650b1eb08bcb3f5 /html.c
parentRewrite default CSS (diff)
downloadscooper-b5d469b648f9bd56bc4d4f9a189631dfbe28d5e1.tar.gz
scooper-b5d469b648f9bd56bc4d4f9a189631dfbe28d5e1.zip
Add search paging links
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index f5ea6bd..0433d29 100644
--- a/html.c
+++ b/html.c
@@ -129,7 +129,6 @@ htmlNav(struct khtmlreq *html, struct Scope scope) {
 			KATTR_ACTION, Pages[Search],
 			KATTR__MAX
 		)
-		|| htmlScopeFields(html, scope)
 		|| khtml_attr(
 			html, KELEM_INPUT,
 			KATTR_TYPE, "search",
@@ -137,6 +136,7 @@ htmlNav(struct khtmlreq *html, struct Scope scope) {
 			KATTR_VALUE, (scope.query ? scope.query : ""),
 			KATTR__MAX
 		)
+		|| htmlScopeFields(html, scope)
 		|| khtml_attr(
 			html, KELEM_INPUT,
 			KATTR_TYPE, "submit",