modified: s/index.tpl.html
This commit is contained in:
parent
beb738f657
commit
01b74af135
@ -14,9 +14,9 @@
|
||||
<script src="./s/jquery-3.1.0.min.js"></script>
|
||||
<script>
|
||||
var load = false;
|
||||
$(function() {
|
||||
$(window).scroll(() => {
|
||||
if($(window).scrollTop() + $(window).height() == $(document).height() && !load) {
|
||||
$(()=>{
|
||||
$(window).scroll(()=>{
|
||||
if($(window).scrollTop() + $(window).height() >= $(document).height() - 130 && !load) {
|
||||
load = true;
|
||||
$.getJSON('./api/p/'+$('#posts').data('last'), (msg) => {
|
||||
var html = "";
|
||||
|
Loading…
Reference in New Issue
Block a user