aboutsummaryrefslogtreecommitdiff
path: root/src/View
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-03-22 14:28:35 +0100
committerJoris Guyonvarch2015-03-22 14:28:35 +0100
commite7237e9f2a01197890d85b6ecc223e4022630cb8 (patch)
treed8e054f3367edb87c26e9e3590e65c848225a43d /src/View
parent8f9074bf4a4062282f381cf6a4518b191c66cb15 (diff)
Do not validate edition when clicking on an element that is currently being edited
Diffstat (limited to 'src/View')
-rw-r--r--src/View/Timer.elm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/View/Timer.elm b/src/View/Timer.elm
index c8b6561..50144ef 100644
--- a/src/View/Timer.elm
+++ b/src/View/Timer.elm
@@ -52,7 +52,7 @@ nameBlockEdition id timer edition =
, (List.isEmpty edition.chars, "empty")
]
|> activatedClasses
- , onClick (Signal.send updates ValidEdition)
+ , onClick (Signal.send updates NoOp)
]
[ if List.isEmpty edition.chars
then
@@ -89,7 +89,7 @@ timeBlockEdition timer edition =
, (isEmptyEdition, "empty")
]
|> activatedClasses
- , onClick (Signal.send updates ValidEdition)
+ , onClick (Signal.send updates NoOp)
]
[ if isEmptyEdition
then