about summary refs log tree commit diff stats
path: root/src/css/select.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-01-24 17:22:50 +0100
committerbptato <nincsnevem662@gmail.com>2022-01-24 17:22:50 +0100
commitcd8ca0faa258a3387f9875c7a6f534743b45f817 (patch)
treedce2d7a45969664cae90f96f32e33d6e8011a07f /src/css/select.nim
parent7cb534fd1fb2cbd0a338ba22457e18ba8cb57f78 (diff)
downloadchawan-cd8ca0faa258a3387f9875c7a6f534743b45f817.tar.gz
Refactor
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 1bd45dcd..94cdd96f 100644
--- a/src/css/select.nim
+++ b/src/css/select.nim
@@ -187,7 +187,7 @@ func selectElems(document: Document, selectors: SelectorList): seq[Element] =
     result = result.filter((elem) => selectorMatches(elem, sellist[i]).psuccess)
     inc i
 
-proc querySelector*(document: Document, q: string): seq[Element] =
+proc querySelector(document: Document, q: string): seq[Element] =
   let ss = newStringStream(q)
   let cvals = parseListOfComponentValues(ss)
   let selectors = parseSelectors(cvals)