blob: 24ce3663a044917af8918b6f277fbee84019d4bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//= require jquery.autopager-1.0.0-mod
$(function() {
$.autopager({
autoLoad: true,
content: ".items",
start: function(current, next) {
$(".loading").show();
},
load: function(current, next) {
$(".loading").hide();
}
});
$("a[rel=next]").click(function() {
$.autopager("load");
return false;
});
});
|