diff --git a/4chan_x.user.js b/4chan_x.user.js index aa1530aa4..1eed3e295 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -710,7 +710,7 @@ country: function(post) { var flag; if (flag = $('.countryFlag', post.el)) { - return flag.title.replace('Country: ', ''); + return flag.title; } return false; }, diff --git a/script.coffee b/script.coffee index ac7591e29..f60404d7b 100644 --- a/script.coffee +++ b/script.coffee @@ -565,7 +565,7 @@ Filter = text.join '' country: (post) -> if flag = $ '.countryFlag', post.el - return flag.title.replace 'Country: ', '' + return flag.title false filename: (post) -> {fileInfo} = post