From 3b962d16dba91aa13ad6bc04abc7608b6de5bdf4 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 21 Jul 2017 09:57:00 +0200 Subject: Fix jumping to anchors with offline style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If the style changes after the browser already jumped to an anchor, the resulting browser position will be messed up. So, after we changed the style we need to make sure that we jump to the anchor again. Since browsers do not jump to anchors that they already jumped to, that means first jumping to the top, then to the actual anchor. Task-number: QTCREATORBUG-18448 Change-Id: I86c736adab6940903276f8a896b4054ddae11ebe Reviewed-by: Topi Reiniƶ --- doc/global/qt-html-templates-offline-simple.qdocconf | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/global/qt-html-templates-offline-simple.qdocconf') diff --git a/doc/global/qt-html-templates-offline-simple.qdocconf b/doc/global/qt-html-templates-offline-simple.qdocconf index 1fea752a16..c3c2d3cca0 100644 --- a/doc/global/qt-html-templates-offline-simple.qdocconf +++ b/doc/global/qt-html-templates-offline-simple.qdocconf @@ -7,6 +7,16 @@ HTML.headerstyles = \ " \n" \ " \n" HTML.postheader = \ -- cgit v1.2.3