diff options
Diffstat (limited to 'components/script/dom/htmlanchorelement.rs')
-rw-r--r-- | components/script/dom/htmlanchorelement.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlanchorelement.rs b/components/script/dom/htmlanchorelement.rs index 34f056f3141..e024fb6a00a 100644 --- a/components/script/dom/htmlanchorelement.rs +++ b/components/script/dom/htmlanchorelement.rs @@ -413,8 +413,8 @@ impl HTMLAnchorElementMethods for HTMLAnchorElement { Some(ref url) if url.host().is_none() || url.cannot_be_a_base() || url.scheme() == "file" => { - return - }, + return; + } None => return, // Step 4. Some(url) => { |