mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
fix redirection handler
This commit is contained in:
parent
0ff182f15d
commit
acfd730c95
3 changed files with 28 additions and 37 deletions
|
|
@ -73,9 +73,8 @@ impl Item {
|
|||
|
||||
if let Some(text) = request {
|
||||
page.navigation.request.widget.entry.set_text(&text);
|
||||
|
||||
if is_load {
|
||||
page::load(&page, true);
|
||||
page::load(&page, None, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -111,7 +110,7 @@ impl Item {
|
|||
if let Some(text) = request {
|
||||
page.navigation.request.widget.entry.set_text(&text);
|
||||
}
|
||||
page::load(&page, is_history);
|
||||
page::load(&page, None, is_history);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue