No need to .replace('Country: ', '') anymore.

This commit is contained in:
Nicolas Stepien 2012-07-04 21:25:45 +02:00
parent 112e3a9c53
commit b0309d943e
2 changed files with 2 additions and 2 deletions

View File

@ -705,7 +705,7 @@
country: function(post) { country: function(post) {
var flag; var flag;
if (flag = $('.countryFlag', post.el)) { if (flag = $('.countryFlag', post.el)) {
return flag.title.replace('Country: ', ''); return flag.title;
} }
return false; return false;
}, },

View File

@ -558,7 +558,7 @@ Filter =
text.join '' text.join ''
country: (post) -> country: (post) ->
if flag = $ '.countryFlag', post.el if flag = $ '.countryFlag', post.el
return flag.title.replace 'Country: ', '' return flag.title
false false
filename: (post) -> filename: (post) ->
{fileInfo} = post {fileInfo} = post