Nesting of comments in view, disabling comment form display button on button click

This commit is contained in:
Nathan Leniz
2015-03-07 01:57:09 +09:00
parent 53598a8e6f
commit 6910ed0aea
6 changed files with 168 additions and 94 deletions

View File

@@ -22,6 +22,10 @@ var commentSchema = new mongoose.Schema({
comments: {
type: Array,
default: []
},
toplevel: {
type: Boolean,
default: false
}
});