snippets_list.js 221 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 function SnippetsList() { const $holder = $('.snippets-list-holder'); $holder.find('.pagination').on('ajax:success', (e, data) => { $holder.replaceWith(data.html); }); } window.gl.SnippetsList = SnippetsList;