1
0
Fork 0
mirror of https://github.com/lise-henry/crowbook synced 2024-05-28 09:56:23 +02:00

Remove debugging logging

This commit is contained in:
Elisabeth Henry 2017-06-05 06:20:58 +02:00
parent 0e4d2f5abb
commit b420625cd7

View File

@ -7,7 +7,6 @@ var initFns = [];
{{{js_prelude}}}
function showChapter(chap, noreset){
console.log("showchapter called with " + chap);
initFns[chap]();
if (!displayAll) {
var chapters = document.getElementsByClassName("chapter");
@ -55,7 +54,6 @@ function getChapter(elem) {
window.onhashchange = function() {
var hash = document.location.hash;
console.log(hash);
if(!hash) {
showChapter(0, true);
} else {