forked from qo-op/bunkerbox
videosChan
This commit is contained in:
parent
437edaeafc
commit
fb90d6335a
|
@ -83,13 +83,13 @@ $.getJSON('_IPNSL_history.json', function (json) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
$.getJSON('_IPNSL_history._CHANNEL_.json', function (json) {
|
$.getJSON('_IPNSL_history._CHANNEL_.json', function (json) {
|
||||||
$('#videosList').pagination({
|
$('#videosChan').pagination({
|
||||||
dataSource: json.Videos,
|
dataSource: json.Videos,
|
||||||
pageSize: 1,
|
pageSize: 3,
|
||||||
callback: function(data, pagination) {
|
callback: function(data, pagination) {
|
||||||
var wrapper = $('#videosList .wrapper').empty();
|
var wrapper = $('#videosChan .wrapper').empty();
|
||||||
$.each(data, function (i, f) {
|
$.each(data, function (i, f) {
|
||||||
$('#videosList .wrapper').append('<ul><li><div class="snippet-block">' + f.link + '</div></li></ul>');
|
$('#videosChan .wrapper').append('<ul><li><div class="snippet-block">' + f.link + '</div></li></ul>');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue