DashboardFE

This commit is contained in:
daisuke
2021-03-27 12:01:13 -06:00
parent d62e41ef47
commit ed37590c5f
8 changed files with 55 additions and 8 deletions

View File

@ -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){