diff options
Diffstat (limited to 'components/script/dom/htmlanchorelement.rs')
-rw-r--r-- | components/script/dom/htmlanchorelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlanchorelement.rs b/components/script/dom/htmlanchorelement.rs index 0856aae3c80..1219692cd9b 100644 --- a/components/script/dom/htmlanchorelement.rs +++ b/components/script/dom/htmlanchorelement.rs @@ -122,7 +122,7 @@ impl<'a> Activatable for JSRef<'a, HTMLAnchorElement> { //TODO: Step 3. Handle <img ismap/>. //TODO: Step 4. Download the link is `download` attribute is set. let element: JSRef<Element> = ElementCast::from_ref(*self); - let attr = element.get_attribute(ns!(""), &atom!("href")).root(); + let attr = element.get_attribute(&ns!(""), &atom!("href")).root(); match attr { Some(ref href) => { let value = href.r().Value(); |