mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
added minimum lengths into error messages
This commit is contained in:
@@ -308,7 +308,7 @@ marked.setOptions({
|
||||
type: 'error',
|
||||
timeout: 2000,
|
||||
title: 'Title too short',
|
||||
message: "Please enter a longer title.",
|
||||
message: "Please enter a longer title. At least " + Topics.minimumTitleLength + " characters.",
|
||||
alert_id: 'post_error'
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user