Skip to content

Commit

Permalink
Add clear button to regions input
Browse files Browse the repository at this point in the history
  • Loading branch information
joshkh committed Oct 27, 2016
1 parent faf8ae1 commit 3551350
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cljs/redgenes/sections/regions/views.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@
:data-placement "bottom"}]]]
[region-input-box]
[:div.btn-toolbar
[:button.btn.btn-warning
{:on-click (fn [] (dispatch [:regions/set-to-search nil]))}
"Clear"]
[:button.btn.btn-primary
{:on-click (fn [] (dispatch [:regions/set-to-search example-regions]))}
"Example"]]]]
Expand Down

0 comments on commit 3551350

Please sign in to comment.