modified: s/index.tpl.html

This commit is contained in:
Flummi 2016-09-05 10:45:43 +00:00
parent beb738f657
commit 01b74af135

View File

@ -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 = "";