bzr revid: ddm@openerp.com-20130828140326-82z41q5yn08olrlv
This commit is contained in:
ddm 2013-08-28 16:03:26 +02:00
parent 3c9f07d244
commit 189dabab53
1 changed files with 3 additions and 3 deletions

View File

@ -317,9 +317,9 @@
return hashIndex > 0 ? url.substring(0, hashIndex): url;
},
keywords: function () {
return _.uniq(this.$el.find('.js_seo_keyword').map(function () {
x return $(this).text();
}).get());
return _.uniq($('.js_seo_keyword').map(function () {
return $(this).text();
}));
},
isExistingKeyword: function (word) {
return _.contains(this.keywords(), word);