blob: c74bbb9d7acf4287a77978c66ba5e1f86e9c9d92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//= require jquery.autopager-1.0.0-mod
$(function() {
$(".pagination").hide();
$.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;
});
});
|