mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Load graphs.js from head
* Also move script into body, to be a valid HTML document
This commit is contained in:
parent
aeb6de9166
commit
3d4323b1d4
1 changed files with 23 additions and 22 deletions
|
@ -4,12 +4,12 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta name="viewport" id="viewport" content="width=device-width" />
|
||||
<link href="graphs.css" rel="stylesheet" />
|
||||
<script src="../js/vendor/protobuf.min.js"></script>
|
||||
<script src="graphs.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="main"></div>
|
||||
</body>
|
||||
<script src="../js/vendor/protobuf.min.js"></script>
|
||||
<script src="graphs.js"></script>
|
||||
|
||||
<script>
|
||||
anki.graphs(
|
||||
document.getElementById("main"),
|
||||
|
@ -30,4 +30,5 @@
|
|||
}
|
||||
);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue