summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/DOM/HTMLAnchorElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/DOM/HTMLAnchorElement.h')
-rw-r--r--Libraries/LibWeb/DOM/HTMLAnchorElement.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/DOM/HTMLAnchorElement.h b/Libraries/LibWeb/DOM/HTMLAnchorElement.h
index 925d149cf5..d52557b8c3 100644
--- a/Libraries/LibWeb/DOM/HTMLAnchorElement.h
+++ b/Libraries/LibWeb/DOM/HTMLAnchorElement.h
@@ -42,7 +42,7 @@ public:
template<>
inline bool is<HTMLAnchorElement>(const Node& node)
{
- return is<Element>(node) && to<Element>(node).tag_name().equals_ignoring_case("a");
+ return is<Element>(node) && to<Element>(node).tag_name() == HTML::TagNames::a;
}
}