about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-07-15 18:26:38 +0200
committerbptato <nincsnevem662@gmail.com>2022-07-15 18:27:26 +0200
commit501d37258bf36816bd1077c08dc0918f0c6687f1 (patch)
tree201094d72f023203d8e368046cf8bf350cc0a0ad /src
parentb9c13c005735dcbf812aa56beb681ece37361dc9 (diff)
downloadchawan-501d37258bf36816bd1077c08dc0918f0c6687f1.tar.gz
Fix page reloading
Diffstat (limited to 'src')
-rw-r--r--src/client.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.nim b/src/client.nim
index 16e30b00..42a60d60 100644
--- a/src/client.nim
+++ b/src/client.nim
@@ -191,7 +191,7 @@ proc loadUrl(client: Client, url: string, ctype = "") =
         client.gotoUrl("http://" & url, none(ClickAction), none(Url), true, true, ctype)
 
 proc reloadPage(client: Client) =
-  client.gotoUrl(client.buffer.location, none(ClickAction), none(Url), true, false, client.buffer.contenttype)
+  client.gotoUrl(client.buffer.location, none(ClickAction), none(Url), true, true, client.buffer.contenttype)
 
 proc changeLocation(client: Client) =
   let buffer = client.buffer