12 lines
253 B
JavaScript
12 lines
253 B
JavaScript
![]() |
(global => {
|
||
|
global.gl = global.gl || {};
|
||
|
|
||
|
gl.SnippetsList = function() {
|
||
|
var $holder = $('.snippets-list-holder');
|
||
|
|
||
|
$holder.find('.pagination').on('ajax:success', (e, data) => {
|
||
|
$holder.replaceWith(data.html);
|
||
|
});
|
||
|
}
|
||
|
})(window);
|