about summary refs log tree commit diff stats
path: root/src/local/pager.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/local/pager.nim')
-rw-r--r--src/local/pager.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim
index 36924ead..c279faac 100644
--- a/src/local/pager.nim
+++ b/src/local/pager.nim
@@ -1180,7 +1180,7 @@ proc checkMailcap(pager: Pager, container: Container): CheckMailcapResult =
 proc redirectTo(pager: Pager, container: Container, request: Request) =
   pager.alert("Redirecting to " & $request.url)
   pager.gotoURL(request, some(container.location), replace = container,
-    redirectdepth = container.redirectdepth + 1, referrer = pager.container)
+    redirectdepth = container.redirectdepth + 1, referrer = container)
 
 proc handleEvent0(pager: Pager, container: Container, event: ContainerEvent): bool =
   case event.t