diff options
Diffstat (limited to 'src/local/pager.nim')
-rw-r--r-- | src/local/pager.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim index a6a4d77b..ab250986 100644 --- a/src/local/pager.nim +++ b/src/local/pager.nim @@ -619,7 +619,7 @@ proc toggleSource(pager: Pager) {.jsfunc.} = if pager.container.sourcepair != nil: pager.setContainer(pager.container.sourcepair) else: - let contentType = if pager.container.contentType.get("") == "text/html": + let contentType = if pager.container.ishtml: "text/plain" else: "text/html" |