Add improved form validation in color lightbox.

This commit is contained in:
Andrey Antukh 2015-12-24 20:30:05 +02:00
parent f8b369784f
commit a896bb60d6
8 changed files with 53 additions and 10 deletions

View file

@ -8,6 +8,10 @@
[e]
(.preventDefault e))
(defn event->inner-text
[e]
(.-innerText (.-target e)))
(defn event->value
[e]
(.-value (.-target e)))