auto merge of #2209 : lpy/servo/issue2188, r=Ms2ger

see #2188
This commit is contained in:
bors-servo 2014-04-23 03:19:23 -04:00
commit 3fc2c11910
10 changed files with 32 additions and 28 deletions

View file

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