aboutsummaryrefslogtreecommitdiff
path: root/src/Update/Update.elm
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-03-22 17:13:04 +0100
committerJoris Guyonvarch2015-03-22 17:13:04 +0100
commitb3076f37700291221ededbaf996a065b006cf42d (patch)
tree26535eb8756329565529f2c5383701aa41c06c17 /src/Update/Update.elm
parente7237e9f2a01197890d85b6ecc223e4022630cb8 (diff)
Do not add more than one space when editing name
Diffstat (limited to 'src/Update/Update.elm')
-rw-r--r--src/Update/Update.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Update/Update.elm b/src/Update/Update.elm
index 5a902df..a556e36 100644
--- a/src/Update/Update.elm
+++ b/src/Update/Update.elm
@@ -105,7 +105,7 @@ validEdition : Model -> Model
validEdition model =
case model.edition of
Just edition ->
- if List.isEmpty edition.chars
+ if isEmpty edition
then
model
else