Anki/ts/src/html/graphs.html
2020-06-30 16:23:46 +10:00

17 lines
455 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" id="viewport" content="width=device-width" />
</head>
<body>
<div id="main"></div>
</body>
<script>
const nightMode = window.location.hash == "#night";
if (nightMode) {
document.body.className = "night-mode";
}
anki.graphs(document.getElementById("main"), nightMode);
</script>
</html>