remove printlns and fix chrome remove filter style

This commit is contained in:
pablodip 2018-01-24 09:49:21 +01:00
parent 27442937cf
commit 561232d6e2
2 changed files with 8 additions and 8 deletions

View File

@ -99,13 +99,12 @@
^{:key (str currency)} ^{:key (str currency)}
[:div.open-bounties-filter-list-option-checkbox [:div.open-bounties-filter-list-option-checkbox
[:label [:label
{:on-click #(do (println "label on-click") {:on-click #(rf/dispatch [::handlers/set-open-bounty-filter-type
(rf/dispatch [::handlers/set-open-bounty-filter-type ::ui-model/bounty-filter-type|currency
::ui-model/bounty-filter-type|currency (cond
(cond (and active? (= #{currency} current-filter-value)) nil
(and active? (= #{currency} current-filter-value)) nil active? (disj current-filter-value currency)
active? (disj current-filter-value currency) :else (into #{currency} current-filter-value))])
:else (into #{currency} current-filter-value))]))
:tab-index 0 :tab-index 0
:on-focus #(do (.stopPropagation %) (reset! tooltip-open? true))} :on-focus #(do (.stopPropagation %) (reset! tooltip-open? true))}
[:input [:input
@ -164,7 +163,7 @@
:on-focus #(reset! open? true) :on-focus #(reset! open? true)
:on-blur #(reset! open? false)} :on-blur #(reset! open? false)}
[:div.open-bounties-filter-element [: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?) :class (when (or current-filter-value @open?)
"open-bounties-filter-element-active")} "open-bounties-filter-element-active")}
[:div.text [:div.text

View File

@ -616,6 +616,7 @@
.open-bounties-filter-list-option-checkbox { .open-bounties-filter-list-option-checkbox {
label { label {
display: flex; display: flex;
align-items: baseline;
} }
label:hover { label:hover {