From 561232d6e2b90431f1088a8fd4d4ce882e1aa2ba Mon Sep 17 00:00:00 2001 From: pablodip Date: Wed, 24 Jan 2018 09:49:21 +0100 Subject: [PATCH] remove printlns and fix chrome remove filter style --- src/cljs/commiteth/bounties.cljs | 15 +++++++-------- src/less/style.less | 1 + 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/cljs/commiteth/bounties.cljs b/src/cljs/commiteth/bounties.cljs index c07576d..a701762 100644 --- a/src/cljs/commiteth/bounties.cljs +++ b/src/cljs/commiteth/bounties.cljs @@ -99,13 +99,12 @@ ^{:key (str currency)} [:div.open-bounties-filter-list-option-checkbox [:label - {:on-click #(do (println "label on-click") - (rf/dispatch [::handlers/set-open-bounty-filter-type - ::ui-model/bounty-filter-type|currency - (cond - (and active? (= #{currency} current-filter-value)) nil - active? (disj current-filter-value currency) - :else (into #{currency} current-filter-value))])) + {:on-click #(rf/dispatch [::handlers/set-open-bounty-filter-type + ::ui-model/bounty-filter-type|currency + (cond + (and active? (= #{currency} current-filter-value)) nil + active? (disj current-filter-value currency) + :else (into #{currency} current-filter-value))]) :tab-index 0 :on-focus #(do (.stopPropagation %) (reset! tooltip-open? true))} [:input @@ -164,7 +163,7 @@ :on-focus #(reset! open? true) :on-blur #(reset! open? false)} [:div.open-bounties-filter-element - {:on-mouse-down #(do (println "element on-mouse-down") (swap! open? not)) + {:on-mouse-down #(swap! open? not) :class (when (or current-filter-value @open?) "open-bounties-filter-element-active")} [:div.text diff --git a/src/less/style.less b/src/less/style.less index 68ed6f5..5977c85 100644 --- a/src/less/style.less +++ b/src/less/style.less @@ -616,6 +616,7 @@ .open-bounties-filter-list-option-checkbox { label { display: flex; + align-items: baseline; } label:hover {