remove script cruft that got superseded during XHTML fix. add charset meta-equiv, just in case.
This commit is contained in:
parent
070d9812da
commit
43ae142c68
@ -9,6 +9,7 @@ page_title: The Ardour Manual
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>{{page.page_title}}</title>
|
<title>{{page.page_title}}</title>
|
||||||
|
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<link href="{{page.bootstrap_path}}/css/bootstrap.min.css" rel="stylesheet" />
|
<link href="{{page.bootstrap_path}}/css/bootstrap.min.css" rel="stylesheet" />
|
||||||
@ -71,22 +72,6 @@ page_title: The Ardour Manual
|
|||||||
e.className += ' mac'; // class magic for Cmd vs. Ctrl keys.
|
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
Loading…
Reference in New Issue
Block a user