From c0a88bf3d0dd15e6ef139fe905e939f6af095fbd Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 29 Aug 2014 07:38:07 +0200 Subject: [PATCH] qute:log: Scroll to bottom on load --- qutebrowser/html/log.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/qutebrowser/html/log.html b/qutebrowser/html/log.html index a2d3bad6f..bf6663ea0 100644 --- a/qutebrowser/html/log.html +++ b/qutebrowser/html/log.html @@ -1,5 +1,13 @@ {% extends "base.html" %} +{% block script %} +window.onload=toBottom; + +function toBottom() { + window.scrollTo(0, document.body.scrollHeight); +} +{% endblock %} + {% block style %} body { background-color: black;