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:
parent
0e4d2f5abb
commit
b420625cd7
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue