servoshell: Reset link status when loading a new document (#32518)

* Reset link status when loading a new document

* Reset hover link when navigating back or forward
This commit is contained in:
webbeef 2024-06-18 04:10:14 -07:00 committed by GitHub
parent 1d2949f2b3
commit bd15a4fbd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View file

@ -683,6 +683,10 @@ where
if let Err(e) = self.constellation_chan.send(msg) {
warn!("Sending navigation to constellation failed ({:?}).", e);
}
self.messages_for_embedder.push((
Some(top_level_browsing_context_id),
EmbedderMsg::Status(None),
));
},
EmbedderEvent::Keyboard(key_event) => {