Revert "hackfix empty tournament activity entries - REVERT ME"

This reverts commit 52acbe8e6a.
pull/3338/merge
Thibault Duplessis 2017-07-24 10:33:50 +02:00
parent 7ceecea9e1
commit 532f2831b6
1 changed files with 0 additions and 7 deletions

View File

@ -103,12 +103,6 @@ $(function() {
});
});
function cleanupActivity() {
$('.activity .entry').filter(function() {
return this.textContent.indexOf('0 tournaments') > -1 ;
}).remove();
}
cleanupActivity();
$('.content_box_inter.angles').each(function() {
var $angles = $(this),
$content = $('.angle_content');
@ -116,7 +110,6 @@ $(function() {
$('.angle_content .infinitescroll').infinitescroll('destroy');
$.get(path).then(function(html) {
$content.html(html);
cleanupActivity();
lichess.pubsub.emit('content_loaded')();
history.replaceState({}, '', path);
lichess.loadInfiniteScroll('.angle_content .infinitescroll');