mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
update comments
This commit is contained in:
parent
78b7dd960b
commit
f6f0a2e2df
@ -144,20 +144,20 @@ impl Page {
|
|||||||
|
|
||||||
pub fn history_back(&self) {
|
pub fn history_back(&self) {
|
||||||
if let Some(request) = self.navigation.history_back(true) {
|
if let Some(request) = self.navigation.history_back(true) {
|
||||||
// Update
|
// Update navigation entry
|
||||||
self.navigation.set_request_text(&request);
|
self.navigation.set_request_text(&request);
|
||||||
|
|
||||||
// Reload page
|
// Reload page (without history record)
|
||||||
self.action_page_reload.activate(None);
|
self.action_page_reload.activate(None);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn history_forward(&self) {
|
pub fn history_forward(&self) {
|
||||||
if let Some(request) = self.navigation.history_forward(true) {
|
if let Some(request) = self.navigation.history_forward(true) {
|
||||||
// Update
|
// Update navigation entry
|
||||||
self.navigation.set_request_text(&request);
|
self.navigation.set_request_text(&request);
|
||||||
|
|
||||||
// Reload page
|
// Reload page (without history record)
|
||||||
self.action_page_reload.activate(None);
|
self.action_page_reload.activate(None);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user