mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
closes #117
This commit is contained in:
@@ -287,6 +287,9 @@ define(['taskbar'], function(taskbar) {
|
||||
titleEl = composer.postContainer.querySelector('input'),
|
||||
bodyEl = composer.postContainer.querySelector('textarea');
|
||||
|
||||
titleEl.value = titleEl.value.trim();
|
||||
bodyEl.value = bodyEl.value.trim();
|
||||
|
||||
if (titleEl.value.length < 3) {
|
||||
return app.alert({
|
||||
type: 'error',
|
||||
|
||||
Reference in New Issue
Block a user