DashboardFE
This commit is contained in:
@ -479,6 +479,11 @@ function newPosts() {
|
||||
if (getUrlParameter('mode') == 'bookmarks') {
|
||||
return false;
|
||||
}
|
||||
var page = getUrlParameter('page');
|
||||
if (typeof page !== 'undefined') {
|
||||
return false;
|
||||
}
|
||||
|
||||
$.get("index.php?ajax=1&since=" + id + "" + pageMode, function(data) {
|
||||
if (data) {
|
||||
var scroll = $(window).scrollTop();
|
||||
@ -507,7 +512,9 @@ window.setInterval(function() {
|
||||
timestamp = $(this).attr('id');
|
||||
$(this).html(timeSince(timestamp)+' ago');
|
||||
});
|
||||
|
||||
newPosts();
|
||||
|
||||
}, 25000);
|
||||
|
||||
function themecheck(name){
|
||||
|
Reference in New Issue
Block a user