fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix for toc events
[wolnelektury.git]
/
src
/
wolnelektury
/
static
/
js
/
book_text
/
progress.js
diff --git
a/src/wolnelektury/static/js/book_text/progress.js
b/src/wolnelektury/static/js/book_text/progress.js
index
d57a32f
..
ae5b14a
100644
(file)
--- a/
src/wolnelektury/static/js/book_text/progress.js
+++ b/
src/wolnelektury/static/js/book_text/progress.js
@@
-1,6
+1,7
@@
(function($){$(function(){
(function($){$(function(){
- t = $('#global-progress').data('t');
+ let t = $('#global-progress').data('t');
+
function upd_t() {
$text = $('#main-text #book-text');
texttop = $text.offset().top;
function upd_t() {
$text = $('#main-text #book-text');
texttop = $text.offset().top;