mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
update comments
This commit is contained in:
parent
78b7dd960b
commit
f6f0a2e2df
1 changed files with 4 additions and 4 deletions
|
|
@ -144,20 +144,20 @@ impl Page {
|
|||
|
||||
pub fn history_back(&self) {
|
||||
if let Some(request) = self.navigation.history_back(true) {
|
||||
// Update
|
||||
// Update navigation entry
|
||||
self.navigation.set_request_text(&request);
|
||||
|
||||
// Reload page
|
||||
// Reload page (without history record)
|
||||
self.action_page_reload.activate(None);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn history_forward(&self) {
|
||||
if let Some(request) = self.navigation.history_forward(true) {
|
||||
// Update
|
||||
// Update navigation entry
|
||||
self.navigation.set_request_text(&request);
|
||||
|
||||
// Reload page
|
||||
// Reload page (without history record)
|
||||
self.action_page_reload.activate(None);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue