 
 (defn- toggle-el!
   "Show / hide an element based on whether it contains a search match or not."
-  [idx el]
+  [_idx el]
   (let [$el ($ el)
         $matched (.find $el matched-search-sel)
         matches-in-el? (pos? (aget $matched "length"))]


(defn- toggle-fn-matches! [search-txt]
  (let [$links ($ fn-link-sel)]
    (.each $links #(toggle-fn-link %1 %2 search-txt))))

(defn- clear-search! []
  (.removeClass ($ search-input-sel) no-results-class)

      (aget "length")
      pos?))

(defn- toggle-fn-link [el search-txt]
  (let [$link ($ el)
        link-txt (.text $link)
        match? (not= -1 (.indexOf link-txt search-txt))]
