max 5 tags per topic

asdasd
This commit is contained in:
barisusakli
2014-05-21 19:50:27 -04:00
parent d8fd29581e
commit 90cea84af9

View File

@@ -12,7 +12,9 @@ define(function() {
return;
}
tagEl.tagsinput();
tagEl.tagsinput({
maxTags: 5 // TODO: make configurable
});
addTags(postData.tags, tagEl);
var input = postContainer.find('.bootstrap-tagsinput input');