From 1fcce6d87cdcd11cb9becd2a022fce028110a639 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 16 May 2017 07:50:55 +0200 Subject: [PATCH] Change how error page retries work A simple reload won't work when e.g. the renderer process crashed, so let's try this instead. Also, searchFor seemed to be unused. --- qutebrowser/html/error.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/qutebrowser/html/error.html b/qutebrowser/html/error.html index ef50682ef..eab68a031 100644 --- a/qutebrowser/html/error.html +++ b/qutebrowser/html/error.html @@ -61,10 +61,7 @@ li { {{ super() }} function tryagain() { - location.reload(); -} -function searchFor(uri) { - location.href = uri; + location.href = url; } {% endblock %}