Browse Source

Tiny #perfmatters fix for scroll.

master
Ambrose Chua 9 years ago
parent
commit
d909f46b97
  1. 2
      .gitignore
  2. 4
      index.php

2
.gitignore

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

4
index.php

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

Loading…
Cancel
Save