mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
fix active page reset
This commit is contained in:
parent
b443d1c58e
commit
710093b161
5 changed files with 37 additions and 19 deletions
|
|
@ -181,7 +181,11 @@ impl Browser {
|
|||
.get::<i32>()
|
||||
.expect("Parameter does not match `i32`");
|
||||
|
||||
window.tab_page_navigation_reload(page_position);
|
||||
if page_position > -1 {
|
||||
window.tab_page_navigation_reload(Some(page_position));
|
||||
} else {
|
||||
window.tab_page_navigation_reload(None);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue