From 43ae142c68d66ca4a326e7603ec41387b30ae2ab Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Nettingsmeier?= Date: Fri, 7 Feb 2014 01:11:24 +0100 Subject: [PATCH] remove script cruft that got superseded during XHTML fix. add charset meta-equiv, just in case. --- source/_layouts/bootstrap.html | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/source/_layouts/bootstrap.html b/source/_layouts/bootstrap.html index db2c3c9..a85ffe7 100644 --- a/source/_layouts/bootstrap.html +++ b/source/_layouts/bootstrap.html @@ -9,6 +9,7 @@ page_title: The Ardour Manual {{page.page_title}} + @@ -71,22 +72,6 @@ page_title: The Ardour Manual e.className += ' mac'; // class magic for Cmd vs. Ctrl keys. } - var tree = document.getElementById('tree'), - anchors = document.getElementsByTagName('a'), - name = '/' + document.location.pathname.split('/')[1] + '/', - offset; - - for (var i = 0; i < anchors.length; i++) { - if (anchors[i].getAttribute('name') === name) { - offset = anchors[i].offsetTop; - break; - } - } - - if (tree && offset) { - tree.scrollTop = offset - 10; - } -