mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Fix regression that no update to Page.fragment_node.
This commit is contained in:
parent
68e3fb26a7
commit
b38f39ebe4
1 changed files with 1 additions and 2 deletions
|
@ -1043,8 +1043,7 @@ impl ScriptTask {
|
|||
let _ = wintarget.dispatch_event_with_target(Some((*doctarget).clone()),
|
||||
&mut *event);
|
||||
|
||||
let mut fragment_node = page.fragment_node.get();
|
||||
fragment_node.assign(fragment.map_or(None, |fragid| page.find_fragment_node(fragid)));
|
||||
page.fragment_node.assign(fragment.map_or(None, |fragid| page.find_fragment_node(fragid)));
|
||||
|
||||
let ConstellationChan(ref chan) = self.constellation_chan;
|
||||
chan.send(LoadCompleteMsg(page.id, url));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue