about summary refs log tree commit diff stats
path: root/src/css/select.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2021-12-27 18:06:48 +0100
committerbptato <nincsnevem662@gmail.com>2021-12-27 18:31:44 +0100
commitb7f19942e3d0a4cf25981c1686ffdb200ec4fd6f (patch)
tree3943638c430021e9dd421780166e845e6534724e /src/css/select.nim
parent2b1dac71b2886ede9950f4ef91e7a0eb7b3e5ed5 (diff)
downloadchawan-b7f19942e3d0a4cf25981c1686ffdb200ec4fd6f.tar.gz
Implement basic media query support
Diffstat (limited to 'src/css/select.nim')
-rw-r--r--src/css/select.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css/select.nim b/src/css/select.nim
index 1f43844f..9da20d4f 100644
--- a/src/css/select.nim
+++ b/src/css/select.nim
@@ -184,7 +184,7 @@ func selectElems(document: Document, selectors: SelectorList): seq[Element] =
 
 proc querySelector*(document: Document, q: string): seq[Element] =
   let ss = newStringStream(q)
-  let cvals = parseCSSListOfComponentValues(ss)
+  let cvals = parseListOfComponentValues(ss)
   let selectors = parseSelectors(cvals)
 
   for sel in selectors: