v1.18.x
Baris Usakli 6 years ago
commit e299cafce7

@ -313,7 +313,7 @@
} }
styles.push('background-color: ' + userObj['icon:bgColor'] + ';'); styles.push('background-color: ' + userObj['icon:bgColor'] + ';');
return '<div ' + attributes.join(' ') + ' style="' + styles.join(' ') + '">' + userObj['icon:text'] + '</div>'; return '<span ' + attributes.join(' ') + ' style="' + styles.join(' ') + '">' + userObj['icon:text'] + '</span>';
} }
function register() { function register() {

@ -138,7 +138,6 @@ module.exports = function (Categories) {
teaser.parentCid = parseInt(parentCids[teaser.cid], 10) || 0; teaser.parentCid = parseInt(parentCids[teaser.cid], 10) || 0;
teaser.tid = undefined; teaser.tid = undefined;
teaser.uid = undefined; teaser.uid = undefined;
teaser.user.uid = undefined;
teaser.topic = { teaser.topic = {
slug: topicData[index].slug, slug: topicData[index].slug,
title: topicData[index].title, title: topicData[index].title,

Loading…
Cancel
Save