SEO no empty keywords
bzr revid: ddm@openerp.com-20130904041951-74uvloiz4uoj5egp
This commit is contained in:
@@ -107,7 +107,7 @@
|
||||
var self = this;
|
||||
// TODO Refine
|
||||
var word = candidate ? candidate.replace(/[,;.:<>]+/g, " ").replace(/ +/g, " ").trim() : "";
|
||||
if (!this.isKeywordListFull() && !this.isExistingKeyword(word)) {
|
||||
if (word && !this.isKeywordListFull() && !this.isExistingKeyword(word)) {
|
||||
var type = _.contains(this.suggestions(), word) ? 'advised' : 'new';
|
||||
var keyword = new website.seo.Keyword(this, {
|
||||
keyword: word,
|
||||
|
||||
Reference in New Issue
Block a user