update comments

This commit is contained in:
yggverse 2024-11-05 08:11:14 +02:00
parent 78b7dd960b
commit f6f0a2e2df

View File

@ -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);
}
}