From a3d808bd07acb8859e4934ec0a6698f605290557 Mon Sep 17 00:00:00 2001 From: bptato Date: Tue, 27 Aug 2024 18:43:00 +0200 Subject: pager: fix nav direction after view source --- src/local/pager.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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) -- cgit 1.4.1-2-gfad0