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