From b3076f37700291221ededbaf996a065b006cf42d Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Sun, 22 Mar 2015 17:13:04 +0100 Subject: Do not add more than one space when editing name --- src/Update/Update.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Update/Update.elm') 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 -- cgit v1.2.3