diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-22 17:04:52 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-22 17:04:52 +0900 |
| commit | d2d3a7d52b78b7d7d1da4380b062ac2279948cae (patch) | |
| tree | 5e17286dfe020c58ff4b8bfcd7c91fd9a3bab2b5 /src/models | |
| parent | [wip] #1455 (diff) | |
| download | sharkey-d2d3a7d52b78b7d7d1da4380b062ac2279948cae.tar.gz sharkey-d2d3a7d52b78b7d7d1da4380b062ac2279948cae.tar.bz2 sharkey-d2d3a7d52b78b7d7d1da4380b062ac2279948cae.zip | |
CW
Diffstat (limited to 'src/models')
| -rw-r--r-- | src/models/note.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/note.ts b/src/models/note.ts index 02801b62de..3c835ed190 100644 --- a/src/models/note.ts +++ b/src/models/note.ts @@ -24,7 +24,7 @@ export function isValidText(text: string): boolean { } export function isValidCw(text: string): boolean { - return text.length <= 100 && text.trim() != ''; + return text.length <= 100; } export type INote = { |