remove buggy animate effect

This commit is contained in:
Hannes Mannerheim 2016-01-22 13:12:11 +01:00
parent 98f831dd20
commit 22bd622bee

View File

@ -748,8 +748,9 @@ function setNewCurrentStream(streamObject,setLocation,fallbackId,actionOnSuccess
actionOnSuccess();
// make sure page-container is visible
// make sure page-container and feed is visible
$('#page-container').css('opacity','1');
$('#feed').css('opacity','1');
// don't invoke actionOnSuccess later if we already invoked it here
actionOnSuccess = false;
@ -936,13 +937,9 @@ function setNewCurrentStream(streamObject,setLocation,fallbackId,actionOnSuccess
addToFeed(queet_data, false,'visible');
}
// fade in if we need too
if(parseInt($('#feed').css('opacity'),10) == '0') {
$('#feed').animate({opacity:'1'},150);
}
// make sure page-container is visible
$('#page-container').css('opacity','1');
$('#feed').css('opacity','1');
$('.reload-stream').show();
$('body').removeClass('loading-older');$('body').removeClass('loading-newer');