mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
..
This commit is contained in:
parent
81ab6bf820
commit
82822c1879
@ -619,6 +619,8 @@
|
||||
if (target_page.loaded) {
|
||||
transform_and_scroll(target_page);
|
||||
} else {
|
||||
// TODO: scroll_to may finish before load_page
|
||||
|
||||
// Scroll to the exact position once loaded.
|
||||
_.load_page(target_page_idx, undefined, transform_and_scroll);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user