 
 (defn- toggle-fn-matches! [search-txt]
   (let [$links ($ fn-link-sel)]
-    (.each $links #(toggle-fn-link %1 %2 search-txt))))
+    (.each $links #(toggle-fn-link %2 search-txt))))
 
 (defn- clear-search! []
   (.removeClass ($ search-input-sel) no-results-class)


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

(def matched-search-class "matched-e5c67")
(def matched-search-sel (str "." matched-search-class))
(def no-results-class "no-results-5d3ea")
(def fn-link-sel ".fn-a8476, .inside-fn-c7607")
(def group-sel ".group-2be36")
(def section-sel ".section-31efe")
(def search-input-id "searchInput")
