mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
Merge branch 'master' of github.com:psychobunny/node-forum
This commit is contained in:
@@ -83,8 +83,8 @@ var socket,
|
|||||||
};
|
};
|
||||||
|
|
||||||
app.post_topic = function() {
|
app.post_topic = function() {
|
||||||
var title = document.getElementById('post_title').innerHTML,
|
var title = document.getElementById('post_title').value,
|
||||||
content = document.getElementById('post_content').innerHTML;
|
content = document.getElementById('post_content').value;
|
||||||
|
|
||||||
if (title.length < 5 || content.length < 5) {
|
if (title.length < 5 || content.length < 5) {
|
||||||
app.alert({
|
app.alert({
|
||||||
|
|||||||
Reference in New Issue
Block a user