From 4a897f27bbfb114f256890eb70c4d7e053f0e19b Mon Sep 17 00:00:00 2001 From: bptato Date: Thu, 21 Mar 2024 17:57:41 +0100 Subject: catom: at -> sat just for consistency --- src/css/match.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/css/match.nim') diff --git a/src/css/match.nim b/src/css/match.nim index 4156e7fa..d3e7f526 100644 --- a/src/css/match.nim +++ b/src/css/match.nim @@ -139,7 +139,7 @@ func pseudoSelectorMatches[T: Element|StyledNode](elem: T, sel: Selector, felem: of PSEUDO_LANG: return sel.pseudo.s == "en" #TODO languages? of PSEUDO_LINK: - return elem.tagType in {TAG_A, TAG_AREA} and elem.attrb(atHref) + return elem.tagType in {TAG_A, TAG_AREA} and elem.attrb(satHref) of PSEUDO_VISITED: return false -- cgit 1.4.1-2-gfad0