reformat scripts.js

This commit is contained in:
Aadil Ayub 2022-01-13 11:09:24 +06:00
parent 63cac05f1a
commit abf00ad597

View File

@ -497,6 +497,7 @@ function newPosts() {
var scroll = $(window).scrollTop();
if (scroll > 1000) {
$('#loader').html("<div class='avatar' style='height:0px;'></div><div class='loader' style='display:table-cell; height:50px; line-height:50px;'><a class='link' style='margin:5px;' href='#'>Load Newer Posts</a></div>");
if ($('#loaded').length) {
$('#loaded').prepend(data);
} else {
@ -528,8 +529,7 @@ window.setInterval(function() {
function themecheck(name) {
if (name.value == "custom") {
$('#customtheme').css("display", "block");
}
else{
} else {
$('#customtheme').css("display", "none");
}
};