Open shaund opened 6 years ago
I made a fix. The position was being stored in the database, but the function used to scroll wasn't working. I switched to window.scrollTo
instead of the 3rd-party $(document).scrollTo
.
I changed line 115 (116 for https://github.com/pirtleshell/lwt) in https://github.com/andreask7/lwt/blob/7cab202b879dd81e16604c41ac5b122df803a70c/do_text_text.php#L115 to
window.scrollTo(0, $(pos[0]).position().top);
Seems to work so far.
The audio position is remembered, but not the text. Is there something I have to do to get it to save?