mirror of
https://github.com/servo/servo.git
synced 2025-10-05 19:19:25 +01:00
commit
3fc2c11910
10 changed files with 32 additions and 28 deletions
|
@ -1062,7 +1062,7 @@ impl ScriptTask {
|
|||
|
||||
if node.is_element() {
|
||||
let element: JS<Element> = ElementCast::to(&node).unwrap();
|
||||
if "a" == element.get().tag_name {
|
||||
if "a" == element.get().local_name {
|
||||
self.load_url_from_element(page, &element)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue