about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/local/pager.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim
index d81d4986..8abaf16f 100644
--- a/src/local/pager.nim
+++ b/src/local/pager.nim
@@ -1083,6 +1083,7 @@ proc toggleSource(pager: Pager) {.jsfunc.} =
     let container = pager.newContainerFrom(pager.container, contentType)
     if container != nil:
       container.sourcepair = pager.container
+      pager.navDirection = ndNext
       pager.container.sourcepair = container
       pager.addContainer(container)