removed dupe

v1.18.x
barisusakli 11 years ago
parent 46d3e4a6eb
commit bb9caa7228

@ -39,18 +39,11 @@ define('notifications', ['sounds'], function(sound) {
for (x = 0; x < data.read.length; x++) {
html += createNotification(data.read[x]);
}
addSeeAllLink();
} else {
html += '<li class="no-notifs"><a>[[notifications:no_notifs]]</a></li>';
addSeeAllLink();
}
function addSeeAllLink() {
html += '<li class="pagelink"><a href="' + config.relative_path + '/notifications">[[notifications:see_all]]</a></li>';
}
html += '<li class="pagelink"><a href="' + config.relative_path + '/notifications">[[notifications:see_all]]</a></li>';
notifList.translateHtml(html);

Loading…
Cancel
Save