diff options
author | Joris Guyonvarch | 2015-03-22 14:28:35 +0100 |
---|---|---|
committer | Joris Guyonvarch | 2015-03-22 14:28:35 +0100 |
commit | e7237e9f2a01197890d85b6ecc223e4022630cb8 (patch) | |
tree | d8e054f3367edb87c26e9e3590e65c848225a43d /src/Update/Update.elm | |
parent | 8f9074bf4a4062282f381cf6a4518b191c66cb15 (diff) |
Do not validate edition when clicking on an element that is currently being edited
Diffstat (limited to 'src/Update/Update.elm')
-rw-r--r-- | src/Update/Update.elm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Update/Update.elm b/src/Update/Update.elm index f3bb263..5a902df 100644 --- a/src/Update/Update.elm +++ b/src/Update/Update.elm @@ -36,7 +36,6 @@ type Action = | UpdateTimer Id TimerAction | RemoveTimer Id | Edit Id Kind - | ValidEdition | ClickAway | KeyPressed KeyCode @@ -89,8 +88,6 @@ update action model = then Dict.update id (Maybe.map (updateTimer Pause)) model.timers else model.timers } - ValidEdition -> - validEdition model ClickAway -> { model | edition <- Nothing } KeyPressed keyCode -> |