X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6db272cdb367187394dbb01e93e2e03dab14f9ab..0b270a76ad73162f894285c360a0ee87fa84e536:/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);