X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6db272cdb367187394dbb01e93e2e03dab14f9ab..7a27a3fbc14b2049b8d110db15855a625e4c2455:/src/wolnelektury/static/js/book_text/progress.js?ds=sidebyside diff --git a/src/wolnelektury/static/js/book_text/progress.js b/src/wolnelektury/static/js/book_text/progress.js index 8175de666..d57a32fbd 100644 --- a/src/wolnelektury/static/js/book_text/progress.js +++ b/src/wolnelektury/static/js/book_text/progress.js @@ -15,7 +15,6 @@ textlen = textbottom - texttop; progress = (window.scrollY - texttop) / textlen; progress = Math.max(0, Math.min(progress, 1)) - console.log('SCROLL BODY', progress); $('#global-progress .filled').css('right', (1 - progress) * 100 + '%'); tleft = Math.round((1 - progress) * t / 60);