fixed incorrect twitter link generation in category view

v1.18.x
Julian Lam 12 years ago
parent 9b43f80ff8
commit 2a946d52e0

@ -31,7 +31,7 @@ var RDB = require('./redis.js'),
'category_id': category_id, 'category_id': category_id,
'active_users': [], 'active_users': [],
'topics' : [], 'topics' : [],
'twitter-intent-url': 'https://twitter.com/intent/tweet?url=' + encodeURIComponent(global.config.url + 'category/' + category_id + '/' + category_slug) + '&text=' + encodeURIComponent(category_name) 'twitter-intent-url': 'https://twitter.com/intent/tweet?url=' + encodeURIComponent(global.config.url + 'category/' + category_slug) + '&text=' + encodeURIComponent(category_name)
}; };
function getTopics(next) { function getTopics(next) {

Loading…
Cancel
Save