1
0
Fork 0

Tiny #perfmatters fix for scroll.

master
Ambrose Chua 2013-11-19 17:15:15 +08:00
parent 686f6818ce
commit d909f46b97
2 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
startup*.png, config-*.php startup*.png

View File

@ -114,7 +114,7 @@ include 'checklogin.php';
$("#pulley").html("Tap to close"); $("#pulley").html("Tap to close");
} }
}); });
$("#scrollable").scroll(function() { setInterval(function() {
if ($("#scrollable").scrollTop()>=75) { if ($("#scrollable").scrollTop()>=75) {
newbarvisible=false; newbarvisible=false;
} }
@ -130,7 +130,7 @@ include 'checklogin.php';
$("#floating").fadeIn("slow"); $("#floating").fadeIn("slow");
} }
} }
}); }, 1000);
$("#list").on("click", ".post", function() { $("#list").on("click", ".post", function() {
postid=$(this).attr("class"); postid=$(this).attr("class");
postid=postid.replace("post postid", ""); postid=postid.replace("post postid", "");