1
0
Fork 0

Fix erroneously linkable char count.

This commit is contained in:
Nicolas Perriault 2017-05-03 17:11:18 +02:00
parent b035879b0a
commit cfb056d871
No known key found for this signature in database
GPG Key ID: DA5E4C83904F7A2A
2 changed files with 8 additions and 5 deletions

View File

@ -312,6 +312,10 @@ body {
clear: both;
}
.charcount {
cursor: default;
}
.in-reply-to .well {
padding: 10px;
}

View File

@ -263,13 +263,12 @@ draftView ({ draft, currentUser } as model) =
, onClick (DraftEvent ClearDraft)
]
[ text "Clear" ]
, button
[ type_ "button"
, class <|
, div
[ class <|
if limitExceeded then
"btn btn-danger active"
"btn btn-danger charcount active"
else
"btn btn-default active"
"btn btn-default charcount active"
]
[ text <| toString charCount ]
, button