This commit is contained in:
Hannes Mannerheim 2015-11-16 17:13:26 +01:00
parent 819504224b
commit fefe9f2b87
2 changed files with 2 additions and 3 deletions

View File

@ -727,6 +727,7 @@ function setNewCurrentStream(streamObject,setLocation,fallbackId,actionOnSuccess
$('#new-queets-bar').parent().addClass('hidden'); document.title = window.siteTitle; // hide new queets bar if it's visible there
addToFeed(queet_data, false,'visible'); // add stream items to feed element
$('#feed').animate({opacity:'1'},150); // fade in
$('.reload-stream').show();
$('#feed-body').removeAttr('data-end-reached');
$('body').removeClass('loading-older');$('body').removeClass('loading-newer');
$('html,body').scrollTop(0); // scroll to top

View File

@ -2384,9 +2384,7 @@ $('body').on('click','button.shorten',function () {
· · · · · · · · · · · · · */
$('body').on('click','.reload-stream',function () {
$('.reload-stream').hide();
setNewCurrentStream(URLtoStreamRouter(window.location.href),false,false,function(){
$('.reload-stream').show();
});
setNewCurrentStream(URLtoStreamRouter(window.location.href),false,false,false);
});